Beginners - November 2013 (Page 63)

for Loop second interval
 
I have a question (hopefully its easy). I have a for loop with just a dot. I want to basically l...
[1 reply] : #include<windows.h> //for Sleep() for(int i = 0; i < 5; i++) { c... (by Chriscpp)
Declaring void functions into another variables
 
have an enteroption function. In my main function im trying to declare the result of enteroption int...
[4 replies] Last: I g have it solved manga.I deleted the EnterOption() in the beginning ... (by fahmankhan75)
need help starting this For Loop
 
this is the only thing i have as code distance = speed * time write a program that asks the user ...
[3 replies] Last: [quote=djjuu16]how do you figure out the speed of a vehicle? [quote=d... (by cire)
Can't write objects to binary file .
 
HI! My program runs correctly , but I think instead of writing objects itself , it writes their addr...
[3 replies] Last: You absolutely must NOT write non-POD types to a file in this manner. ... (by Disch)
Amount of each letters in a book
 
The title sums it up. I need to know how many letters of each letter, uppercase and lowercase are in...
[11 replies] Last: could anyone please help me? (by Joshcannon)
Pseudo Random Numbers in While Loop
 
Hey guys, I'm trying to create a simple game that is a duel between a user and dragon. The idea stem...
[2 replies] Last: It appears you forgot to set the random number seed. At the beginning ... (by CplusplusAcolyte)
What is wrong with this code for reading binary files?
 
What is wrong with this code for reading binary files? It compiles OK, but will not print out th...
[2 replies] Last: In the case of the first code, it shouldn't compile. There is no over... (by cire)
Complier Error on void
 
What is wrong with my int function? I'm trying to do a while loop but whenever ido it, it gives me a...
[5 replies] Last: I got my solution now :) Thanks guys :) (by fahmankhan75)
help
 
hello i need a programe using for loop to draw a lozenge pleas help
[no replies]
While Loop Confusion (help)
 
I'm trying to do a calculator, I have done the functions for the operators(+ , - , / , *) .. My ...
[4 replies] Last: Thank for the reply! I fixed it by doing it like this: while (optio... (by odannyc)
by Mayah
Output sorted array
 
Hi, I am writing a program where the user is asked to input values that should be stored in an ar...
[2 replies] Last: Aceix, Thank you so much! Based on the global variables at the top, s... (by Mayah)
please help me --
 
Write a function multiple that determines for a pair of integers whether the second integer is a mul...
[8 replies] Last: I'm sorry but I don't see what i can comment. The code is so simple. I... (by lockandstrike)
Need help using a function in Main
 
I have created a function to identify if a number is prime or not. I need to then use the return val...
[19 replies] Last: You probably dont get 2 as a prime because of line 19. It should retur... (by giblit)
by Ausha
counting words in string and printing out longest word
 
In this task you can enter whatever sentence, words separated only with spaces, thats the task given...
[1 reply] : I believe I should use find function to find position of spaces, but s... (by Ausha)
Help with a decimal to binary issue.
 
Ok, this is an assignment question. I am not asking for someone to do my work. I have only been lear...
[5 replies] Last: Well, here I'm reiterating my first answer: std::string result; ... (by Chervil)
by algo89
Problem with float array
 
I have some problems with an array of type of float. I'm trying to program the Gauss elimination alg...
[no replies]
which better?
 
/// Lets say that I have a class "myClass" that containes a lot of funtions class myClass { ...
[2 replies] Last: Thanks Helios Still opened for more info (by closed account 28poGNh0)
by JAAFAR
does a dll created with VC++ 2010 EXPRESS work on target machines with no C++ installed in them ?
 
Hi all - New to this forum and to C++ I have just downloaded VC++ 2010 Express edition and I am pla...
[4 replies] Last: Can you not statically link your project? maybe useful/maybe not: htt... (by mutexe)
by amc246
Sum of prime numbers function
 
I need to write a function that gives the sum of prime numbers between 1 and N. Then a program th...
[3 replies] Last: Here is a version that does not need the math.h header Simple program ... (by Yash8976)
by Fliize
Binary I/O
 
Hi. I am in the need of using binary I/O in C++ and as I've never done this before, did some search...
[1 reply] : Assuming you have int Width , then after reading it from the file, yo... (by Chervil)
November 2013 Pages: 1... 6162636465... 80
  Archived months: [oct2013] [dec2013]

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