Beginners (Page 51)

Type Error
 
I am having problems with the types in this program for out putting a letter grade. Lines 39-67, an...
[8 replies] Last: Thank you! that totally works now. (by DEnumber50)
Simple question about headers
 
Hello ! I am reading my book's section on headers and I don't really understand why we need to h...
[4 replies] Last: Uhm, I believe you can define functions in a header file. Its just not... (by Jakee)
While( user == gullible )
 
I was just wondering is this a good way of writing the code for this exercise: While( user == gulli...
[3 replies] Last: When count is 0, count++ evaluates to the value before the increme... (by cire)
by zionet
We find two elements in an array of 100000 elements, which are subtracted coming to 0.
 
We find two elements in an array of 100000 elements, which are subtracted coming to 0. example: ...
[3 replies] Last: ? Whats your code. The number is coming to 0. (by zionet)
OOD: Fetch available actions from objects?
 
I'm trying out Object Oriented Design to make a very simple text-based adventure game where the user...
[4 replies] Last: ACTION_COUNT is the number of actions defined in one particular item... (by helios)
Program 13
 
Getting error when trying to compile #include<iostream> #include<string> #include<algorith...
[6 replies] Last: Hm, I searched a bit the compiler issue and found this: https://gcc.gn... (by pacman169)
Need help with Macros
 
Output of the following program for "J" should be ++y * ++y = 2 * 3 = 6. But when I execute this pro...
[7 replies] Last: > See below example O/P for cout operator All those are undefined beha... (by ne555)
Playing sounds
 
When I play a wav file sound with this code: #include <iostream> #include <windows.h> //I ad...
[13 replies] Last: What is a Hi Script ? (by BobTheZealotIsEpic)
Slash and 2 digit number entering
 
Hello ! I am having a small issue with my code, mainly I'm not sure how to do this. Basically, li...
[4 replies] Last: Thank you both very much for your help ! (by NookLines)
Typedefs and Define
 
What is the difference between typedef and #define ? Typedef: #include <iostream> using names...
[3 replies] Last: Thanks (by BobTheZealotIsEpic)
Atof or atoi
 
Hi guys, i've a problem. I don't know how to use atof or atoi in a bidimensional array. Basically ...
[7 replies] Last: This is a "find the student's average grade" homework. By "notes" le... (by Duoas)
Errors in 'hello world' C++ MPI program in Windows
 
Hello all, I am a scientific programmer but very new to MPI. I am trying to make classic 'hello w...
[2 replies] Last: Thank you very much for your answer. However can you speak in Windows ... (by a5997487)
MinGW Compiler or Compilers on Windows
 
I'm having a problem running MinGW. It is installed but won't run. I use the command prompt and type...
[3 replies] Last: http://lmgtfy.com/?q=set+path+in+windows (by keskiverto)
do loop only running once
 
I am writing a program to solve a quadratic function iteratively by having values of x converge, wit...
[8 replies] Last: In one way that looks like progress, it is actually looping. But the c... (by Chervil)
New to C++, question about a code
 
I'm learning it on my own while I'm out here on deployment, and came across this problem: //...
[3 replies] Last: Thanks guys, I'll try re-writing this with the ternary op just to see ... (by syntax error)
Don't recognise this for loop
 
Hi, I was going through Bjarne's book (Principles and Practice using C++ 2nd Ed.) and came across th...
[2 replies] Last: Ahh, thank you very much JLBorges. (by JRHolmes)
Need and Algorythm for Finding Union Of Sets.
 
Hey I am new To C++ programming , and I am just making a new Program to Find the Union Of Two Sets. ...
[2 replies] Last: Kudos for trying to checking if the user entered the same number twice... (by AbstractionAnon)
check if input is valid
 
I have been trying to make a very simply programme that checks if the inputted information is an int...
[5 replies] Last: amazing thanks (by jsmith613)
Reading from file returning glitch value
 
I've been going through how to use files, and discovered the read and write keywords, that are taugh...
[2 replies] Last: I've taken note of the escape character ('\0'). I'll admit I am famili... (by Posiedeon)
Use arrays to find mean median mode with inout text file
 
Write a program that reads a text file named lab6.txt containing a number of test scores into an arr...
[3 replies] Last: confused what order to put my things in, and I do not know how to cal... (by closed account j3Rz8vqX)
Pages: 1... 4950515253... 83
  Archived months: [may2014]

Cannot post in this page. To post a new message, go to the first page.