Search:
Type: Posts; User: hayloiuy
Search:
Search took 0.04 seconds.
-
December 30th, 2010, 10:58 AM
AARGGGHHHH this is just a very very simple mistake which i overlook. I spent 2 hours thinking what is the problem. Imagine that. If there are any thumbs up in this forum i will give you a hundred. ...
-
December 30th, 2010, 10:00 AM
I have a question about this particular code.
The structs would not save the value entered by the user into its class' attributes.
If you do not understand what i am talking about, please compile...
-
July 24th, 2010, 09:26 PM
Thanks Phillip!! That answered my question!! To everyone else i sincerely thank you for your further explanation and sorry about the indentation. I thought it was neat for me. I assure you guys there...
-
July 23rd, 2010, 11:39 PM
What i am trying to do here is to pass an argument from int main() to num2 then using the same value pass the argument to num1 but the compiler is acting like the arguments passed to num1 does not...
-
July 11th, 2010, 10:46 AM
Oh yeah i just figured vector is also plausible right? I can encapsulate the program by hiding the number of pets i have. I wont be replying for a while. I have class tomorrow morning. I need to...
-
July 11th, 2010, 10:42 AM
Ok... sorry i am still a beginner but what is std::map? And why Paul McKenzie's code does not have "using namespace std" and is he using constructor initializer list? Thanks for your time.
-
July 11th, 2010, 10:33 AM
What i meant was..
In the console:
enter the name of your pet:John
In the code:
....bla bla
....bla bla
....bla bla
-
July 11th, 2010, 10:10 AM
As the title suggest i want to create an object with the name that was entered by the user into the console.
This code looks stupid but you will get the idea what i want to do (although it doesn't...
-
Oh yeah, thanks by the way.
-
Wow !That's something new! Ok it works but if that is your explanation then this should not work right?
cin>>a;
cin>>b;
Because the second cin will execute the /n from the first cin?
-
Woops sorry, i seemed to have caused some misunderstanding. What i meant was that the getline function causes the first loop not to accept any value. Try compiling it and you will understand.
-
Thanks but is still have problem with the getline function. The getline function did not seem to prompt me to insert a value....
-
WOW! THAT'S IT? Wow....just wow!!! I am seriously sorry for wasting your time. By the way, is my way of creating a dynamic memory correct because when it comes to pointer and all i am not very...
-
My teacher asked me to simply create a scenario in C++ that uses an array of objects.
Well, i followed everything by book yet weird problem appears. What is wrong? My take is that the dynamic...
-
I dont mean to be rude but i want solutions not recommendations. Sorry if i sound rude.
-
When i press F9 it should compile and run right? I just started using it today but the F9 button only compiles it but would not run it. I checked the configuration for the buttons. F9 is assigned to...
-
April 27th, 2010, 07:15 AM
#include <iostream>
#include <cctype>
using namespace std;
int main()
{
int a;
while( cin>>a)
-
April 27th, 2010, 06:02 AM
I want to create a program that ask user for a number then checks whether it is integer or not. If it is an integer it will quit. Else it will ask the user to key in the value until the user key in a...
-
April 27th, 2010, 04:44 AM
I just wanted to see whether it is a digit or not but it gave a night of headache
#include <iostream>
#include <cctype>
using namespace std;
int main()
-
April 27th, 2010, 03:23 AM
i dont understand the last sentence
-
April 26th, 2010, 09:55 AM
What is code tag and indentation?The program definitely compile if you remove the '#' at the beginning and ending of the codes.
The program crash whenever i try to quit the application by choosing...
-
April 26th, 2010, 08:18 AM
Weee almost finish this program but one last thing. Why does this program crash whenever i quit after i do something to the records . Somebody please compile the program and try it and please tell me...
-
April 22nd, 2010, 01:02 PM
I dont know whats the problem. I followed everything the teacher taught me in class but this code just keep having errors!!! I feel like crying now. I am too lazy to explain the problem now. Its late...
-
April 17th, 2010, 11:19 PM
I see i will try improving it and see the result thank you
-
April 17th, 2010, 01:10 PM
#include <iostream>
using namespace std;
int add_record()
{struct weapon
{int id;
int name;
int quantity;
|
Click Here to Expand Forum to Full Width
|