- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 1
- Downvoting Members
- 2
Re:
When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you … |
|
Re:
The question is in the title. Rather then making a call to the OS, is there a more efficient way to do this? Thanks Edit: Just though of something else to. Does Sleep(2000); make a call to the OS as well? If so is there another way to do this … |
|
Re:
I'm learning c++ at the moment, and i just learnt about classes, so i decided to make a text game with a badguy and player class, and i was wondering how to refer to other classes variables(like this.health) from other classes. and wether you have to create an instance of … |
|
Re:
I am doing C++ assignment, it invols designing a program where the user can put binary numbers and gets a word in result. I have done the first part of the program but i am strugling to do the the last to tasks. Here is what i have done so … |
|
Re:
please tell me how i can code a BST in c++ ? i know that each node is like that of a linked list where one 'box' stores the item. another two boxes stores the address/pointers to the two siblings. but how can i transform this into code? like this? … |
|
Re:
I'm very new to C++ I have an assignment where I have to create a calculator. Should work in console window and should allow user to enter 1st then 2nd number and then operator user wishes... In addition I have to use a switch statement. Not only that but it … |
|
Re:
Hi, I'm really confused now about how to return an int[] from a C++ function. Inside the function, I need to dynamically resize the array, but at the end I want the variable returned to be an array, not a pointer, but I have no idea how to do this: … |
|
Re:
I'm using dev c++ beta i downloaded from the internet.but the problem is i cannot compile my source code even a simple one like this: #include <iostream> using std::cout; using std::end: int main() { cout<<"HELLO" <<end; return 0; } The error says "The system could not find the specified file" … |
|
Re:
Hi, I've got a program that I wish to run in a powerful server so that it can run on several cores simultaneously and work faster.I need to do client server programming for this.That is, I recieve input in my local system which I forward to the server, it does … |
|
Re:
hi guy's , iam a new member i got stuck with my c++ assigment. i really want's your help the program reads in a series of student data sets from the keyboard, stores them in an ordered linked list of records, supports editing an existing record, and displays a summary … |
|
Re:
Hi, I declared and implemented a print() function in a class. But when I call this function it is giving me an error: which says that function does not take 0 arguments. But what should my arguments be. I have posted the part of the code for more specification. Thanks. … |