
please wait
by Bolong Yu
do while loop
|
I am trying to write a do while loop that asks the user for a series of integers one at a time, and when the integer 0 is entered, it has to display the number ... |
Feb 5, 2013 at 4:56am
[2 replies] Last: First, a couple of points ... if (a, b, c, d = 0) The above code... (by jim80y)
|
by hvigil
String Problem
|
Hey guys, I was wondering if you could help me out with this problem on my program. I ask the user to guess a letter. If the letter is not found in the string ,... |
Feb 5, 2013 at 4:51am
[3 replies] Last: how do I fix it, if I put it in the for loop it will print "wrong" man... (by hvigil)
|
by Blue Shell
Unsolved External
|
Hey guys I was just trying out Visual C++ Express 2010. Keep on getting this error. 1>------ Build started: Project: SomethingElse, Configuration: Debug Win32... |
Feb 5, 2013 at 3:54am
[1 reply] : Is this source file included in your project or just open in the edito... (by cire)
|
by Willmannn
How to change fonts in C++?
|
I found a topic close to this on this site but it was closed and didnt fully teach you how to do it (the guy posted code with errors in it and everyone correcte... |
Feb 5, 2013 at 3:23am
[3 replies] Last: Thanks, I am new. I have actually Moved on to API. ME and friends are ... (by Willmannn)
|
by daytrader
If comparison is not working properly
|
Simple example: A windows form with a textbox for password, button for event, and label for go or no go private: System::Void button1_Click(System::Object... |
Feb 5, 2013 at 3:02am
[4 replies] Last: txtPassword and setPassword are pointers to System::String objects. Y... (by jim80y)
|
by aedwards12
Arrays
|
Hi i am trying to write a function using my own addition algorithm and printing it out using arrays.. I am having trouble printing it out. I keep getting a memo... |
Feb 5, 2013 at 2:55am
[1 reply] : I think you have a problem with your loop, it's hard to tell because o... (by randisking)
|
by Austin J
What is "void" good for?
|
I read in my book that it's "no data". Void pointers can used on most variables etc. I'm not really sure on when the best times are to use void. |
Feb 5, 2013 at 2:15am
[7 replies] Last: Thank you so much guys, that clears up a lot. (by Austin J)
|
by nikkigox
find a word in a string array sentence
|
We have to make a program where you ask the user to input a sentence and a word. Then, the program will check if the word is in the sentence. If it is, it will ... |
Feb 5, 2013 at 2:13am
[8 replies] Last: Also keep in mind that if a word starts the very first word of the sen... (by randisking)
|
by SeanKD
Handling user input of a type double variable
|
I am currently taking a course in C++ programming at college. I wrote the function getDoubleInput to better handle user input of a variable of type double. I w... |
Feb 5, 2013 at 2:09am
[2 replies] Last: There's no main() function because this function is meant to be called... (by SeanKD)
|
by ckw77
Craps Game Help
|
I have to create a craps game. I hope everybody already knows how craps work. But I need this to include a function, something about a pause. It will not work. ... |
Feb 5, 2013 at 1:00am
[6 replies] Last: i tried your code. if you add these lines: return 0; } you can w... (by karakale)
|
by Dannie
Need Help Converting Pseudocode to C++ to find Branch-and-Bound for the Early/Tardy Problem with a Common Due-Date
|
// main() function. // It initiates the search for the optimal solution. main() // Create the root node. create(root_node) root_node.Type := LEAF root_no... |
Feb 5, 2013 at 12:11am
[1 reply] : Write a node class. There are some functions in pseudocode. Define the... (by karakale)
|
by Pieface
Classes
|
solved, thanks |
Feb 5, 2013 at 12:09am
[7 replies] Last: erm.. yea that was pretty stupid of me.. get back to you in 5 haha, ... (by Pieface)
|
by ggplz
[homework] Craps simulation
|
I've been learning C++ for the past 2 weeks and this is my assignment: Craps is a simple dice game often played in casinos. A player throws a pair of dice (o... |
Feb 5, 2013 at 12:00am
[7 replies] Last: I'm going to move this to the thread you've created, so as to not hija... (by MrHutch)
|
by champishere
Software or tool to run and compile a C++ Code
|
Hi, I am very new to C++ and i dont even know of any tool .So,can someone please help me with the name of a tool which is nice and reliable to run and compil... |
Feb 4, 2013 at 11:43pm
[2 replies] Last: Dev C++ http://orwelldevcpp.blogspot.com/2012/12/dev-c-5304-released.h... (by SamuelAdams)
|
by Skraiten
Class Declarations with JPEG
|
I am trying to write my own class, and would like to add a picture as part of the class. How can I do it? I am using either CodeBlocks or Visual C++ 2010 |
Feb 4, 2013 at 9:55pm
[4 replies] Last: CImg can be downloaded from here. ((I have had it for some time but ... (by guestgulkan)
|
by mhaggard
[homework] Reading in numbers and integers
|
I am in a C++ class at my college and I am having trouble reading in strings and integers. I will post the instructions, text file, and my code and any help or ... |
Feb 4, 2013 at 9:40pm
[4 replies] Last: well I think you can pass an additional argument to getline: (this is ... (by cPlusN00b)
|
by delmi
Initializing a variable in the function argument is giving me an error
|
For this code below, I am getting these errors: default argument given for parameter 1 of `void Point::print(double)' after previous specification in `void... |
Feb 4, 2013 at 9:26pm
[4 replies] Last: You're welcome! If you're still following this.. I wonder if you shoul... (by cPlusN00b)
|
Comparing ints & using sstream with get functions |
Hi Guys This is my first question here, so I hope it's clear enough :) Today I had my first exam in c++ in uni - I study computer science - and I didn't get... |
Feb 4, 2013 at 8:02pm
[2 replies] Last: Thanks, The second issue is resolved. I changed it to this now: ... (by Nouri Alnahawi)
|
by herold
Confusion in find function of algorithm
|
Hi, Here is my program definition: Create a student class that include a student's first name and his roll_number.Create five objects of this class and store ... |
Feb 4, 2013 at 7:37pm
[5 replies] Last: The predicate is a function object that you, the programmer, are suppl... (by Cubbi)
|
by sniperfz
Finding longest palindrome
|
Ok so i have this int a ={9,5,3,3,3,6,5,6,4,3,3,4,6} and i need to find the longest palindrome there could anyone explain and give me the algorithm please? ... |
Feb 4, 2013 at 7:08pm
[16 replies] Last: You can simply substitute the sizeof( array ) with the length of the... (by Lynx876)
|