
please wait
by Banshee1
find the largest number of user input
|
First we ask the user how many numbers he would like to input then he enters the numbers, then we find the largest number and output it. My main problem is writ... |
Apr 22, 2013 at 6:39am
[8 replies] Last: My main problem is writing a code that finds the largest number give... (by eyenrique)
|
by zachp
ShowCase: Tic-Tac-Toe
|
Hello everyone! I just wanted to share my Tic-Tac-Toe plugin I just made. I'm new to C++, and it's a lot of fun. If you see some things that need to be impro... |
Apr 22, 2013 at 5:32am
[1 reply] : Very nice... http://xoax.net/cpp/crs/console/lessons/Lesson9/ (by backslashx00)
|
by shott92
complete beginner wanting to know a start point
|
hi guys, BACKGROUND i have made a database in access and a worksheet in excel the two of them i use as separate programmes and files. excel file allows me ... |
Apr 22, 2013 at 5:24am
[6 replies] Last: I've seen Qt-based code written in Mac or GNU/Linux compile in Windows... (by keskiverto)
|
output file as a global |
I keep getting errors when trying to make an outputfile as a global. Here is the error: 19 C:\Dev-Cpp\9vs1.cpp expected constructor, destructor, or type conver... |
Apr 22, 2013 at 5:16am
[6 replies] Last: I did open it in a function. You did in the loadarray function - bu... (by TheIdeasMan)
|
by zachp
Dungeon Crawler
|
The grid shows, and I have it move the first time; also sometimes when it should be invalid, it shows up as valid. And I somehow how y being x and x being y, as... |
Apr 22, 2013 at 5:12am
[3 replies] Last: Ok - that is quite a good effort - well done ! Just a couple of thing... (by TheIdeasMan)
|
Working on arrays? |
Hello, I need help trying to find the smallest and largest number in a randomized array of 25 numbers. I know that what I have put into my main function is wron... |
Apr 22, 2013 at 4:43am
[2 replies] Last: Okay, I've tweaked my code, but I keep producing compiling errors? Not... (by bringer of poop)
|
by sam20390
URGENT!! Validate Date - user defined functions.
|
I am writing an program to validate the date. When I run the program, even the invalid dates (13/32/999) gets validated. Please help!! #include <iostream>... |
Apr 22, 2013 at 4:25am
[12 replies] Last: I changed switch statements to if statements to simplify the ckDate() ... (by sam20390)
|
by ninthred
not converting from hex to decimal
|
okay so ive been working on this code for a while yet i can cant get it to work properly. The code inputs everything correctly yet will not convert the char hex... |
Apr 22, 2013 at 3:49am
[5 replies] Last: well i need to basically convert my char charaters to integers. what t... (by ninthred)
|
by applesnstuff
Date check + EoF
|
Something in this code is giving me positive results (good date) when an incorrect date is entered. It only answers correctly for year, and checks leap year cor... |
Apr 22, 2013 at 3:18am
[1 reply] : fixed, just need to know how to end it on ctrl+z (by applesnstuff)
|
by yayu
Finding int in string
|
Is there a way to check what int a string has? For example, a string named "Choice" holds the value of "A1". I can find the 'A' with Choice == "A'. When I try ... |
Apr 22, 2013 at 3:18am
[8 replies] Last: @yanson sorry it was late at night and made the code example fast with... (by giblit)
|
by kirstin
While and For Statements
|
I have this code running without any errors, but it is not displaying the correct way and I can't figure it out! I have tried so many different things! This is ... |
Apr 22, 2013 at 2:40am
[9 replies] Last: ooh, I assumed he/she wanted them to be separate. Don't know why, sorr... (by yayu)
|
Organizing if statements |
Hey guys. I've been having a bit of a problem writing to an output file. My goal is to have the first if statement run completely for all the data and then late... |
Apr 22, 2013 at 2:38am
[no replies]
|
by ND04
Please Help With Random Number Generate Queue Pointer
|
I Am Slowly Learning To Understanding Queue Pointer, But I've Gotten So Lost While Implementing This Program: The Program I Was Thinking Was To Generate 10 R... |
Apr 22, 2013 at 2:15am
[no replies]
|
by xxLOSTxx
fgets
|
how can i allow a user to keep putting in a sentence until the user hits '#' to quit or enters 20 sentences. if (fgets(&buffer , len1 +1, stdin) != NULL) ... |
Apr 22, 2013 at 2:01am
[no replies]
|
by kirstin
While and Do While statements
|
I am needing to rewrite this code to use a while statement for the outer loop and a for statement for the nested loop. Any help is appreciated! Thanks! int n... |
Apr 22, 2013 at 1:34am
[10 replies] Last: This is my code now...my output is 1 2 3 1 #include <iostream> ... (by kirstin)
|
by Banshee1
find the smaller integer, logic error?
|
So, I am looking to create a program that finds the smallest of the 2 integers that the user inputs. This is what I have, but I must of made a logic error somew... |
Apr 22, 2013 at 1:19am
[4 replies] Last: okay, this is what is going on. When you set the int smaller function... (by Snkyjester)
|
by vanessatse
check integer
|
This checks for non numerical input but doesn't warn error when a double is entered. How can I correct this? while(ShapeChoice !=1 && ShapeChoice !=2 && Sh... |
Apr 22, 2013 at 12:19am
[8 replies] Last: EOF is not required to evaluate to -1, iirc. (by cire)
|
by i2Fluffy
Fill Specific Element in Array of Structs
|
Can I fill a specific element in an array of structs? #include <stdio.h> #define SIZE 100 typedef struct { int x; int y; int z; }something; ... |
Apr 22, 2013 at 12:18am
[3 replies] Last: Ya it gives me this: error C2059: syntax error : '{' Thanks Zaita, th... (by i2Fluffy)
|
by billycro
Templating Question
|
Original: http://stackoverflow.com/questions/9457407/template-class-compilation-expected-constructor-destructor-or-type-conversion My Original Post: http://w... |
Apr 22, 2013 at 12:01am
[1 reply] : No. You must put template classes in the header file. The reason is t... (by firedraco)
|
by barqcider
Need help figuring this pointer/modifying problem out.
|
i need to fix this problem out so it'll work properly : Consider the function void modify(int x)// { x = 10; } Show how to call the modify func... |
Apr 21, 2013 at 11:57pm
[1 reply] : void modify(int& x) { x = 10; }; (by pogrady)
|