
please wait
by matthewfs
Problem with operator<<
|
Hey guys im just writing a program that works like cout. Instead of typing; cout << "abc"; I have to write; spy << "abc"; and make it work the same way... |
Jan 27, 2011 at 4:10pm
[9 replies] Last: The idea is to continue working with the same object. spy << "oh " <... (by ne555)
|
by Napwneon
Segmentation fault while running command line arguments
|
Doing a "guessing game" where the user can edit the difficulty and guessing range at the command line: Essentially, the user can run the program and then typ... |
Jan 27, 2011 at 4:07pm
[9 replies] Last: I think the overall problem is that you need to first test for the num... (by sadavied)
|
by haggismn
argv switch checking
|
Hi everyone, I am writing a program which plays morse code, using the system speaker, for linux. I have the program almost working, however I have one problem,... |
Jan 27, 2011 at 4:04pm
[2 replies] Last: Thanks. Apologies for not searching the forum first. (by haggismn)
|
by Kieth89
I don't understand EOF.
|
I'm not getting the EOF stuff very good, is there an article or something that you guys could point me to? I know that it signifies the end of file, and that af... |
Jan 27, 2011 at 2:36pm
[1 reply] : You can try the tutorial and the reference pages: http://www.cplusplu... (by Bazzy)
|
Opening a url with the default browser |
Hi, I want to know if there is a way that I can open urls through the program. I have the urls saved in a stack as strings. I tried the function ShellExecut... |
Jan 27, 2011 at 1:49pm
[1 reply] : I think the url needs to be a cstring, not a std::string... try url.c... (by cran)
|
by Mortum
linker error: undefined reference - error in easy class
|
Hey guys, i'm using Dev-C++, and everytime i try to make some classes, it's one and the same error. Here is an example of my Code - its pretty easy, but the... |
Jan 27, 2011 at 12:34pm
[2 replies] Last: Thanks a lot. It works fine now. Can't believe such a mistake happen... (by Mortum)
|
by Icarus247
Global objects in seperate file
|
I'm trying to make a simple program that uses global class objects. The only problem is that I can't seem to define them in a separate file. eg: "classA.h" ... |
Jan 27, 2011 at 11:41am
[3 replies] Last: Thanks to both of you! Great help! (by Icarus247)
|
a simple task |
Guys please give me a hint. The task is how to divide a variable into parts. For example an user inputs number 34559. I have to print it as:3 4 5 5 9... |
Jan 27, 2011 at 10:23am
[4 replies] Last: You can first convert this integer into a string and store it in a ch... (by sajithshn)
|
by helpme
I don't understand pointers, templates, polymorphism...... (1,2,3)
|
I have learned and mastered every other tutorial up to pointers(except a few before about struct that didn't appeal at all and made little sense to me). But ... |
Jan 27, 2011 at 7:59am
[40 replies] Last: Pointers are simple to understand. I took me a while to get the hang o... (by closed account zb0S216C)
|
by ThePkodok
[please] About Classes I
|
please give me some advice what should I make with this coding. I have a question below Design and implement a class dayType that implements the day o... |
Jan 27, 2011 at 6:35am
[1 reply] : you need code indent tag to write your code here. you will get more he... (by hasula)
|
by Testgamma1
I need some serious trouble here,.
|
Hey guys, im new to c++ language,ive been reading things like for 4 hours everytime im free and do coding as much is i have free time,. but seriously, it feels... |
Jan 27, 2011 at 6:15am
[3 replies] Last: hi friend, i'm new too, i learn c++ form tutorial in this website , re... (by hasula)
|
by adrianooo231
Using user inputed date later in code
|
So I Have a code int nName int nYear cout << "Please enter your last name: "; cin >> nName cout << "Please enter a year: " cin >> nYear Then w... |
Jan 27, 2011 at 5:41am
[2 replies] Last: sorry... friend..., im beginer too, but this is what can i do to solve... (by hasula)
|
by eNergizer
Problem with Standard library (istream)
|
I have a problem with only this function, no idea why. istream& Student_info::read(istream& is) { delete cp; char ch; cout << "Type U for undergr... |
Jan 27, 2011 at 4:03am
[4 replies] Last: Damn, I'm impressed. Thanks alot Albatross. (by eNergizer)
|
by Kieth89
exit() and reading text file
|
I'm learning about reading text files, and it says to use the exit() function to check and make sure the file was opened. Similar to this: cin.getline(filenam... |
Jan 27, 2011 at 4:01am
[2 replies] Last: True. That said, you should try to avoid structuring your program to n... (by Duthomhas)
|
by SgtPooki
Program updates
|
I have been trying to wrap my head around ways to create a program where I can make updates on the fly, without having to recompile the entire program. How is... |
Jan 27, 2011 at 2:11am
[2 replies] Last: Ideally only I or some other authorized programmer's would add the fun... (by SgtPooki)
|
by VvKevin80
beginner lottery
|
I have been assigned to make a 2 number lottery game. The numbers can be the same, but not everytime. I have no idea what i'm doing. any advice would be great. ... |
Jan 27, 2011 at 2:07am
[17 replies] Last: Thank you all so much, I finally figured it out. I needed extra parent... (by VvKevin80)
|
by Zeikko
Why should I use function prototypes?
|
C# really pissed me off so I decided to return to learn C++. However, I really don't get why I should use function prototypes. Is there any real reason, or is o... |
Jan 27, 2011 at 1:23am
[3 replies] Last: Function a calls function b Function b calls function a You woul... (by Intrexa)
|
by I Need Help
Graphical lib
|
nevermind |
Jan 27, 2011 at 12:58am
[8 replies] Last: Yeah its a file created by the school. nevermind anyways. (by I Need Help)
|
Linux, Unix, Windows programming |
What's the difference between programming in Linux, Unix, or Windows? I Googled it and most of the responses explained it as having not much difference. Is ther... |
Jan 27, 2011 at 12:08am
[3 replies] Last: As fafner said, the language's structure does not change from one OS t... (by closed account zb0S216C)
|
by Aetal
Proper way to make a calculation
|
Hello, I should start off by saying I am new to C++ and recently started my first semester in it. I think my question is simple, but I am not sure how to really... |
Jan 27, 2011 at 12:08am
[3 replies] Last: Thank you both for you responses. I really do appreciate the input on ... (by Aetal)
|