![]() |
|
#1
|
|||
|
|||
Problem with buildingIve created a program and when I go to build it Visual Studio tells me:
Code:
But when I go to find the .exe it is no where to be found. In addition the code appears to build far faster than it should. Can someone tell me whats going on. CPP / C++ / C Code:
__________________
*****Disclaimer***** I am in no way a professional programmer nor do I play one on T.V. |
|
#2
|
|||
|
|||
|
The code you posted does not even begin to compile.
You can not have a space in a variable. CPP / C++ / C Code:
Maybe, CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
|
|
#3
|
|||
|
|||
|
Ok, I fixed all of those problems but I still can't see what is causing it to not compile. Why is it not trying and giving me a page full of errors.
I also changed CPP / C++ / C Code:
to CPP / C++ / C Code:
When I declare the variables should I use float or int? Also do I need a single quote around the ? when I use it in the printed message. Also do I need a single quote around µ. __________________
*****Disclaimer***** I am in no way a professional programmer nor do I play one on T.V. |
|
#4
|
||||
|
||||
|
hi
"temp answer" i'm not sure but i dont think thats allowed. I think you might want to connect the name with a _ or somehting. To make it one word. Why Don't you paste the compiler erros. It would just be that easier to see whats going on. __________________
Xrum! |
|
#5
|
|||
|
|||
|
Quote:
Quote:
CPP / C++ / C Code:
Quote:
http://msdn.microsoft.com/library/en...reftable_3.asp http://www.cppreference.com/escape_sequences.html CPP / C++ / C Code:
|
|
#6
|
|||
|
|||
|
Ok, I found out why I wasnt getting any errors. Turns out I forgot to link my source file to the project
These are my errors: Code:
Here is the relevent piece of my code: CPP / C++ / C Code:
and: CPP / C++ / C Code:
Am I doing this properly? Also can you tell me if I am doing the square roots properly CPP / C++ / C Code:
Thanks again for the help. __________________
*****Disclaimer***** I am in no way a professional programmer nor do I play one on T.V. |
|
#7
|
||||
|
||||
|
ok
here you go Code:
a ? is not an integer, it's a character. You need to first delcare a character(in this case i named it QMark), and then assign the charecter to it (?) you declare it the following way: Code:
Code:
that should probably take care of it. The rest of the errors are most likely generated becaseu of that one statment. Fix it, and let me know how it goes __________________
Xrum! |
|
#8
|
||||
|
||||
|
Or better yet:
CPP / C++ / C Code:
Also, use QMARK everywhere in place of '?'. That way if you need to change the character you only have to do it in one place. __________________
Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough. -- Pearl Williams |
|
#9
|
|||
|
|||
|
Quote:
CPP / C++ / C Code:
|
|
#10
|
||||
|
||||
|
That's why I'd personally use
CPP / C++ / C Code:
![]() __________________
Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough. -- Pearl Williams |
Recent GIDBlog
Toyota - 2008 November Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic problem in Unreal Tournament 2004 | zerox | Computer Software Forum - Games | 10 | 09-Oct-2005 13:31 |
| Building problem | hvtin | MS Visual C++ / MFC Forum | 2 | 08-Feb-2005 03:07 |
| Problem Building New Computer | Dark Serge | Computer Hardware Forum | 4 | 31-Aug-2004 16:19 |
| Another FX 5600 problem (but with details that might shed light on this) | BobDaDuck | Computer Hardware Forum | 2 | 16-Apr-2004 08:53 |
| problem with php5 cgi installation | fab13 | Apache Web Server Forum | 3 | 19-Nov-2003 10:11 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The