Beginners - October 2013 (Page 78)

by BC300
If Then Else Output Problem
 
I have this pseudocode for a if then else program: input display a message asking user thier age get the users age from the keyboard display a messa...
[4 replies] Last: I don't think there is a way to do that. Unless you did something like... (by giblit)
Compiles on 32bits VS, crashes on 64bits VS (exact same project)
 
Hello. I have created a project in Visual studio 2010, 32bit win7. Compiled it, it works fine. I transfered the project to my 64bit computer with win 7 64 b...
[3 replies] Last: did this: http://msdn.microsoft.com/en-us/magazine/cc300794.aspx#S3 i... (by cariacou)
by forest
whilel loop with multiple conditions
 
The program is mainly for proper notation of a point. Will loop thru until the proper notation is correct. Ex (9,0) and then exits out of the program, but not ...
[5 replies] Last: Even when i initialize them L, C, and R to false the problem still ha... (by cire)
how can i make a switch case option disable after one use
 
Not really sure how to phrase this properly but what i have now is a case switch when a key is pressed, something happens, how would i be able to make it so aft...
[13 replies] Last: of course my code doesnt work, it was pseudo code because if i write ... (by cire)
Reference/Pointer functions with a class/struct
 
So I have been working on this for a little while and I can't seem to figure out pointer and references inside of a function variable. I am also using a pointer...
[2 replies] Last: I was told I needed to have a main that dynamically initialized a new ... (by Jakesterwars)
by TensE
Output from a file
 
So I'm trying to output information in a file into the values however I cant figure out how to separate them properly and make it output the entire file. The...
[1 reply] : It's easier to show the code than to explain it: fstream inputStr... (by Chervil)
Writing a NIM game with certain limitations
 
Write a version that permits subtracting any number from 1 to N, where N is stipulated at the beginning of the game. For example, the user when prompted might s...
[3 replies] Last: http://en.wikipedia.org/wiki/Nim#The_subtraction_game_S.281.2C2.2C....... (by JLBorges)
Unresolved External
 
Little help, I get the unresolved external error, anyone know why?: 1>TopDownChap6.obj : error LNK2019: unresolved external symbol "void __cdecl DisplayInfo(cl...
[3 replies] Last: Wow, I feel stupid, Thanks for the help (by psufan1357)
Dangling if/else beginner question
 
I have to find the output. I would have chosen "x is a positive number", but the guide says the answer is "x is a number". Can someone explain like I was 5, why...
[7 replies] Last: When the compiler sees an else , it knows that the only way that this... (by booradley60)
Writing over all my code!
 
I'm using MCVS 2010 Express, toodling along writing my Plinko program, when all of a sudden I accidentally hit some stupid combination of buttons or keys, and a...
[2 replies] Last: Ah! Shift+Insert worked. Thank you! I'm a bubble-brain. (by hseipert)
Hour Glass shape with letters (Beginner)
 
How would I go about coding this. just need some helpful thing to get me started? For example, if the user enters 7, then the following hourglass comprised ...
[16 replies] Last: #include <iostream> using namespace std; int main () { int N ; ... (by JLBorges)
by Pinard
Need help
 
Hi, I am having trouble with the following code. I'm teaching myself C++. Any assistance will be appreciated. /*Case Manipulator Write a program with thre...
[2 replies] Last: Thanks :) (by Pinard)
Transfering data into a textfile
 
Write your quetstion here. Main question I am trying to pass the smallest value and the second smallest value on each array( except for the chars) to its own te...
[3 replies] Last: I was very busy, so here me with an attempt according your questions: ... (by condor)
Converting ASCII
 
Please point out the errors, and it seems that the letter variables that the user inputs are all converting to decimal numbers according to ASCII, like a=97,b=9...
[16 replies] Last: oh wow, thanks alot, i owe you a beer..... (by americanxo)
Identifier is not being defined
 
Why is this not working? I am pretty new to programming and was just wondering why this isnt working, I could get it fixed tmr by my teacher but I'd like to hav...
[3 replies] Last: Yeah Thank you guys for the help, problem solved. (by psufan1357)
Filling an Array with a function
 
Hi All, My English is not te best, so I try t wright it in understandable language I have to declare an Array, and after that fill that array with numbers usi...
[4 replies] Last: Hi All, Thanks foy your reply. The aim of the code was to fill the ... (by fspererg)
by kabuki
Help with QuickSort
 
My quicksort function isn't sorting all of my entries. It will sort most of it but it'll miss a couple others. void qsort(Dict DictEntries ,int start,int...
[1 reply] : Hi there, Duoas recently wrote a great article about quicksort, expla... (by closed account o3hC5Di1)
error C2109: subscript requires array or pointer type
 
I understand what the error is, but i'm not sure how to fix it. Any help would be appreciated! The *clients function is the one that it gives the error for ...
[1 reply] : Please, describe the type of local variable "count" in the function "... (by keskiverto)
by Aibsr
list<ClassName*>
 
I have a question about this code -a different one from the earlier- Why this: typedef std::list<DrawableObject*> DrawableList; DrawableList drawable...
[6 replies] Last: Ok. Thanks (by Aibsr)
spheres volume calculator help
 
Hi everyone, I'm currently in the process of making a program that prompts the user for two radius of two separate spheres then it calculates the sum of the two...
[3 replies] Last: MiiNiPaa, you are right I had too many arguments. Looking at the code ... (by bknick24)
October 2013 Pages: 1... 7677787980... 86
  Archived months: [sep2013] [nov2013]

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