Beginners - September 2012 (Page 45)

why does a c++ programmer without UNIX experience is handicapped in many ways?
 
i read it from a book called introduction to C++ programming and graphics. i am currently using windows7, not sure what the author means by saying that.
[6 replies] Last: first there are three main operating systems DOS which became windows,... (by Aramil of Elixia)
by edoxu
Help about Graduation Project
 
I want make to a Graduation Project depend on C/C++ program language..Can you give me a suggestion!! Thank!!
[3 replies] Last: just use date.h (by Aramil of Elixia)
Best C++ Compiler/IDE..
 
hello everyone, i really newbie in C++ world, last year i start study this C++ whit DEV-C++, but i just realise tht its not updated anymore... any suggestion fo...
[8 replies] Last: QtCreator (Not only for QT, for all C++ things) Eclipse is also one of... (by acn)
How to convert char[][] to char** ?
 
I have a char 2d array : char s ; //s = ... s =.... printf("%s",s ); //it's ok char **foo; *foo = &s ; printf("%s",foo ); it cause segm...
[1 reply] : char **foo; *foo = &s ; // <- this is wrong. This is where you're ... (by Disch)
get rid of leading zeros
 
Hey folks, Im a newebie in c++ and I was working on operator overloading to figure out how they work but Im kinda stuck in not a cool problem (leading zeros). ...
[4 replies] Last: > The strategy is to set the null (unused) array elements to 0 Fill ... (by JLBorges)
this code gives me error message, i am trying to make words in this string in uppercase.
 
string hello="Hello"; cout<<hello.toupper(); string is already included in the library.
[5 replies] Last: it finally works. thanks, man. (by Yangfizz)
IF statement for multiple choice question
 
I am a beginner, learning C++ on my own as part of an extra curricular activity. I am writing this code that is intended to ask the user for a preferred movie g...
[2 replies] Last: Geez! I still have to learn to look at my code carefully!!! That's pro... (by trescool07)
by htown
While loop is not exiting
 
string cmd; cout << "skynet@2.0: "; cin >> cmd; while(cmd != "Exit" || cmd != "EXIT" || cmd != "exit") { cout << "skynet@2.0: "...
[10 replies] Last: I really should have explained how that works. :F (by DesiredNote)
Problem doing an explicit specialization for a template member
 
I'm trying to define a template member inside a template class. Here is a fragment of the header file: // queuetmp.h -- Queue class template (for project E...
[3 replies] Last: > Why the B*& thing instead of simply B*? Modify the code - change ... (by JLBorges)
Saving to a file
 
I am trying to save information to a file but i do not want the user to input any information. I want to use a variable that is within the program already to se...
[3 replies] Last: amazingly complicated lol :p never know tho, u might find it useful so... (by soranz)
Reading parts from a text file
 
This is my coding for reading the text but it doesnot open when it runs...confused !! if (choice == 1) { cout << "Enter filename: " << endl; cin >> file; ...
[10 replies] Last: Okay now i have to read only parts from the same text file..buh this c... (by bunenej)
Is there any way to do this?
 
I need a program who ask for a number of persons (n persons) and asks for each person's age... then it should remember the number of person and it's ages......
[3 replies] Last: He didn't want to store their names, did he? (by DesiredNote)
Problem
 
peace out.
[3 replies] Last: The more I see these posts the more I'm tempted to feed you with a pro... (by MrHutch)
Add to vector
 
The last post I made was awful, I'm sorry. But I will not make the same mistake twise... I hope =) Now this is what I got: A class named Film. A vector wit...
[7 replies] Last: Removed by user (by Hashimatsu)
Simple program can't run completely
 
Hey guys. I am sorry but I didn't know how to structure this title properly. I have tried running this problem but keep on getting errors and don't know what is...
[8 replies] Last: /* ctime example */ #include <stdio.h> #include <time.h> #include <io... (by mikeecb)
by Aceix
Extra const after function implementation...
 
when the word 'const' is placed after a function definition, what does it mean. eg: int func(int& a) const {}
[1 reply] : A method/member function that is declared const is "read-only" and can... (by DesiredNote)
by modic
More stuff.
 
I want to program a game but to have some other stuff added to it. How do you make a beep or put music into a program. How do you make words delay before show...
[17 replies] Last: Because that's C, not C++, I think (by samrux)
by eyali
Returning local reference from a function
 
Hi all Im new to c++ and Im trying to figure somthing out for a few hours now. I dont get why the following piece of code works int & func() { int x ...
[4 replies] Last: I see Thank u:-) (by eyali)
width and precision
 
I am calculating average and got it working how I like it, but I would like to know how to make the program output with width and a precision #include <iostr...
[2 replies] Last: Am I using the manipulators correctly? #include <iostream> #include... (by rock4rigo)
How do i write a progam that i input a group of strings and the computer would randomly give me a string from that group?
 
i tired to do this, and then i get stuck lol. #include <iostream> #include<string> #include<cstdlib> using namespace std; int main() { string ...
[3 replies] Last: thank you for helping. (by Yangfizz)
September 2012 Pages: 1... 4344454647... 62
  Archived months: [aug2012] [oct2012]

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