Beginners - October 2010 (Page 37)

New Window
 
Just started c++ yesterday. I only know: If statements cout<<" \n"; some about loops some about strings I want to take a leap and create a photo viewing...
[11 replies] Last: Thank you very much MottMan! This forum was a comlete fail but, oh wel... (by Widget360)
seems to be skipping inputs...
 
Hello. I've been learning C++ from a few tutorials for 2 weeks now and I've recently written a small program. I wrote a very similar program a few days ago an...
[2 replies] Last: *edit. I got it to work perfectly by simply getting rid of any instan... (by flclempire)
Guide me for my program..two dimentional array..
 
guys pls help me about my program.. my problem is i dont know how to use the 2D arrays.. pls guide my program how to random the student names and it will GROUP ...
[no replies]
Is it possible to make a switch statement?
 
Say I have a an if else statement like: x = 100; y = 500; cin >> amount; if(amount > x) ....some output... else if(amount < x) ...some output......
[2 replies] Last: Not what I would recommend, but what about something like this? ... (by AbstractionAnon)
metaCommand
 
Hi all, To manage arguments (input, output, parameters) I want to use the library <metaCommand>. For scalars (dimension 1), I use the function GetValue...
[4 replies] Last: hi PanCalactic, you right it was a mistake to start with metaCommand ... (by loisir1976)
Switch statement auto-default
 
the statement automatically goes to default no matter what I put in as the cin help? #include <iostream> using namespace std; int main () { char ...
[3 replies] Last: What do you think the value of answer is? Go back and check how a s... (by AbstractionAnon)
random and groupings of names using the two dimentional array..
 
hello guys can you pls help me? guys can you pls give me a sample source code using the two dimentional arrays..? and the output of the program is the random o...
[1 reply] : Heres a link http://www.cplusplus.com/forum/windows/29398/ (by AlphaBravo)
while input test
 
I have a program and need a while loop to check if the program is open. how do I code while file not open repeat cin. Do I use while (!infile) cin >> filena...
[1 reply] : Take a look at http://www.cplusplus.com/reference/iostream/ifstream/is... (by sohguanh)
solve the questions!!! (1,2)
 
write and run a program that reads a six digit number and prints the sum of its six digits!!!!!
[20 replies] Last: Nobody mentioned point #5, it's the most important one! ... ..... (by gcampton)
by altf4
Deleting a value in an ini file
 
I need to write a program in c++ or write a batch file to delete a value from an .ini file. I do not know what the value is and I need to take into consideratio...
[4 replies] Last: Sorry I posted this towards the end of my bad question hating spree (w... (by gcampton)
How to add two polynomials
 
Hey there, What I'm trying to do is make a function that will add two polynomials, and I don't know how to exactly fix it. My first question would be if the Pol...
[2 replies] Last: Oh okay, so you don't know of any reason on why my addition function (... (by crodriguez08)
code in notepad/run from command prompt
 
Hello guys.i have some sort of question,and it may sound stupid or pointless,but i am curious and willing to try it.especially because i like using the console....
[14 replies] Last: gcampton you are great at explaining things,with patience.very few ou... (by gcampton)
EXC BAD ACCESS when filling private array in class member function??
 
Hey all, I'm a rookie to c++ and programming in general, so please forgive if I use improper lingo. Anywho... I have been stuck for two days debugging a prog...
[4 replies] Last: void Date::SetDate(const int month, const int day, const ... (by sohguanh)
by mosphp
How to read signal from machine
 
hi dear, there is several injection machine which have a serial data output. My question is how can i read the data, 1. what equipment do i need to connec...
[3 replies] Last: In general when you buy the hardware, there should be some documentati... (by sohguanh)
What is this? "this->operator [](mySize)"
 
Hi! As a C and Java programmer, I thought that C++ should be at least readable to me. I mean, I have got google and such. But some code is realy tricking me,...
[2 replies] Last: The reason C++ offer operator overloading is to act as syntactic sugar... (by sohguanh)
by jpep
Recursion
 
Ugh, never mind I got it. I was completely off.
[3 replies] Last: I think the loops need to go to size then for(int i=1; i<=size; i++)... (by ne555)
Carry a string?
 
Hi, I'm having a little problem with a string variable in my program. I usually like to figure out problems myself, but this one has stopped my work for t...
[6 replies] Last: Holy crap, it works now!!!! (has quick celebratory moment since no one... (by closed account j6XEy60M)
Issue with a varible that was made
 
Our teacher generated a randomizer function #ifndef RANDOMIZER_H #define RANDOMIZER_H void randomize(int a_seed = 0) { //type to hold calender tim...
[9 replies] Last: Nothing at all, it just lets you declare it in the header. Now, back i... (by LB)
what do these errors mean?
 
Run-Time Check Failure #3 - The variable 'temperature' is being used without being initialized. Run-Time Check Failure #3 - The variable 'negative' is being us...
[3 replies] Last: No one ever told you not to ask for help. But yes, you're using var... (by LB)
Event driven function
 
What is the difference between custom defined functions and event driven functions??
[2 replies] Last: Is it possible to write my own event-driven function for console app? (by Sergius)
October 2010 Pages: 1... 3536373839... 42
  Archived months: [sep2010] [nov2010]

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