Beginners - March 2014 (Page 10)

Cant figure out
 
It says "illegal else without matching if". How do i fix this. More info: Project is on how much ...
[1 reply] : remove semi-colon on line 17. edit: and then actually read some value ... (by mutexe)
by angelk
Substring c++
 
How can I take a string like this: 1: hello, wow Substring wow and 1?
[1 reply] : I assume you are talking about the substr() function? Well, here it is... (by AceDawg45)
by zdx300
please can someone help me ?
 
The average monthly temperatures for years 2010, 2011, 2012 and 2013 are shown in the table below. ...
[6 replies] Last: how about trying to populate a 1D array? (by mutexe)
reversing a number
 
I have written a code to find reverse of a number and print if if the original and reversed numbers...
[3 replies] Last: For some reason you have a conditional before and after the while loop... (by Jamerack)
Issue: (0x000007b), most likely related to SDL2_ttf, help would be appreciated!
 
Upon attempting to compile my code I get the following error: "The application was unable to star...
[no replies]
CRAZY STRING OUTPUT
 
Write your question here. Why does my output look something like this? Hello, □nK // h...
[2 replies] Last: Thank you very much. I changed the printf statement to: cout << "Hel... (by phztfte1)
setting precision
 
i've declared my variables as doubles, yet when i try and set the precision of the percentage differ...
[3 replies] Last: No I mean you should use std::fixed similar to how you have used std::... (by Peter87)
Should I use mscorllib.dll?
 
Should I #using <mscorlib.dll> for I/O like System::Console::WriteLine("Hello World!...
[2 replies] Last: OK. But should I use System::Console::WriteLine("Hello World!"); Syst... (by dleanjeanz)
Sorting by alphabetic order
 
THIS WAS SOLVED Thank you keskiverto (1867) for the help
[4 replies] Last: Compromise a bit and make use of std::strings' relational operator < ... (by keskiverto)
by zdx300
Need help with my assingment
 
The average monthly temperatures for years 2010, 2011, 2012 and 2013 are shown in the table belo...
[1 reply] : Those are the instructions for your homework. Your chance to learn b... (by keskiverto)
by zdx300
really need help
 
The average monthly temperatures for years 2010, 2011, 2012 and 2013 are shown in the table below. ...
[2 replies] Last: sorry please for give me (by zdx300)
by angelk
deallocate memory
 
Hello everyone, I have two dynamic arrays at the end of the cycle, I must deallocate the memory. Ca...
[1 reply] : the problem seems to be in the allocation. Not sure what may be wrong ... (by zsteve)
correct my program plz
 
Hello, i'm trying to write a program that will help a robot driving a car to execute 3 actions:stop,...
[5 replies] Last: i'm actually using code blocks Are u using C or C++ ? if C++, stop u... (by nvrmnd)
percentage difference of variables
 
hi can someone help - when i calculate the percentage different of the actual number and the approxi...
[2 replies] Last: thanks! (by LEHCAR95)
class string
 
I have to design a class string that has two member variables, (a)aString, an array of type char wit...
[1 reply] : what have you got so far? (by mutexe)
plzz correct my program!!
 
Hey everyone, i'm actually new in c++ and i'm trying to write a program that calculate fatorial, but...
[2 replies] Last: aaah thank you soo much, it helped. (by khaoulatan)
by cozier
Problem reading out array
 
I am having difficulties reading out the array properly. I believe my function is reading and adding...
[1 reply] : In this piece of code, you are accessing the same index over and over,... (by bufige)
"Info: Nothing to Build for <filename>"
 
I heard eclipse was a good IDE to use for C++ , but Im having problems being able to run a program ...
[2 replies] Last: First, the 'w32' doesn't refer to '32' bit (though, archaically, it di... (by TwilightSpectre)
by mrxib
nested for loop not working
 
I am nesting a for loop inside a for loop but the inner loop is not executing. #include <i...
[4 replies] Last: I am such a dumb. Thanks everyone. (by mrxib)
by cozier
Help with formatting columns
 
This is a program that lets users see open seats on a plane and then select seats. What I am having ...
[1 reply] : You print rownumber once per row but newline NUMSEATS times per row. F... (by keskiverto)
March 2014 Pages: 1... 89101112... 79
  Archived months: [feb2014] [apr2014]

This is an archived page. To post a new message, go to the current page.