Beginners - October 2011 (Page 37)

Multithreading
 
Hi, I wanna ask you if you can recommend me some EASY and NICE explained guide for multithreading in windows (both, console and API), or just write it down h...
[2 replies] Last: Here is the sample multithreading source code you can learn from this ... (by Dinesh subedi)
How can I modify this function?
 
My professor told me that I made my function to complicated and it could be easier. Here is what she said... "The real problem is in howmanynegative(). You'v...
[1 reply] : You simply need to compare each integer separately as follows: if a... (by Maese909)
cin doesnt get the exactly double
 
i use visual studio and i have a variable double num; and i do a cin cin>>num; when i insert 1.16 it gets 1.159999999999 how can i avoid that?
[3 replies] Last: http://www.cplusplus.com/reference/iostream/manipulators/setprecision/... (by Stewbond)
constructor & destructor
 
Please help me... The question is... Extend the above book class so that book class also contains publisher name, author name and book name, now create th...
[1 reply] : So the teacher apparently wants you to create 3 constructors. As of ri... (by ceruleus)
Rock Paper Scissors Cases not working
 
Hello, I am very new to C++, this is literally the second program I have tried to make after the basic text output and playing around with variables. I am tryin...
[5 replies] Last: Thanks guys, I reckon I can fix it now :D (by Dalolguru)
C++ While in OOP
 
Where i can insert while instruction in my program??? #include<iostream.h> class AUTOMOBILES { private: float Miles; float Gallons; float MPG; ...
[2 replies] Last: I think you are using turbo C++ so at first I want to suggest you to u... (by Dinesh subedi)
codeblocks.exe has stopped working
 
When I create a new project in Codeblocks, I run through the prompts, select a folder, etc. and after clicking Finish I receive this error: codeblocks.exe...
[no replies]
by jacob3
put in command and recieve answer
 
hello, im trying to make a program that pretty much if enter say a command it will give me the solution. Say if i enter a name such as James, the result would d...
[no replies]
assistance in editing rock paper scissors program
 
Hello, I created this rock paper scissors script and was hoping to see if someone had any advice to make the script shorter and more sufficient. The scrip...
[1 reply] : Deadline for this program is today if someone could please help out...... (by victorcastelan)
A program to solve quadratic equation
 
I want to write a program in c++ to solve quadratic equation example 2x^2+x-1=0
[2 replies] Last: *hint: ax^2+bx+c=0 becomes x = (-b+-sqrt(b^2-4ac))/2a float get_x1... (by Stewbond)
by Dimpy
Program for finding common elements in stack
 
I need the steps to proceed for finding common elements in 2 stacks and creating a 3rd stack called common stack with common values from both. Assume that dupli...
[5 replies] Last: No. It sounds like homework, so do it yourself. It's very easy. (by Gaminic)
by MR34
Simplifying a program
 
Hello everyone, I am new here and would like to ask for some advice. Like many of you I am currently taking a C++ class at my college. I will not ask you to sol...
[3 replies] Last: For your month if's: use a switch. http://www.cplusplus.com/doc/tut... (by Gaminic)
Enum??
 
Could someone explain to me what Enum is? I am having a hard time understanding it, and why it would be used. Thanks y'all :)
[5 replies] Last: An instance of an enumeration list can only be assigned to the enumera... (by closed account zb0S216C)
by buggys
Visual C++ String.file
 
ok so i am getting 100 errors in my string.file when i try compiling a source in visual c++ 2010, so i am a bit worries that i have done somthing to it. But i c...
[4 replies] Last: yup :) that did the job, thnx for that (by buggys)
pass string in backgroundworker
 
How do you pass a string from backgroundworkers dowork to it's progresschanged? I can pass an integer easily and then print it out with e->progresspercentge.....
[3 replies] Last: I'm not sure about c++, but in c# the ReportProgress method is overloa... (by JMJAtlanta)
basic math game
 
Hey Everyone, I'm completly new to C++ and currently am using a book that was reccomended on this site. One of the exercises was to change some coding for a bas...
[3 replies] Last: Sorry if I was unclear. I only posted the top lines of code. The while... (by JMJAtlanta)
explicit help!
 
Can anyone tell me a bit about this piece of code? class vector { public: explicit vector( int theSize = 0 ) : currentSize( theSize ) { obje...
[2 replies] Last: explicit vector( int theSize = 0 ) : currentSize( theSize ) ... (by moorecm)
SOMEONE HELP PLEASE! NESTED LOOP
 
Guys, this isn't my question. This was someone's else question. I've tried to solve it but I can't solve it yet and now I just want to know the answer. Ho...
[4 replies] Last: That seemed easy enough, I had this same problem in my c++ class excep... (by dpaul1148)
by Ch1156
rand num generator help
 
So im trying to make a random number generator which i did but i have one problem, here is my code before i explain the rest: #include <iostream> #include ...
[4 replies] Last: what would that look like? (by Ch1156)
How to program this?
 
Make and run a program that asks the user to type A,B,C or Q. When the user types Q, the program ends. When the user types A,B,C, the program displays the messa...
[5 replies] Last: Yeah, well you're not going to get it. Do your own homework. If you ca... (by packetpirate)
October 2011 Pages: 1... 3536373839... 59
  Archived months: [sep2011] [nov2011]

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