Beginners - November 2013 (Page 3)

error: expected ';' before 'Gname'
 
I keep on getting this error: expected ';' before 'Gname'| but before int main() #include "m...
[2 replies] Last: Thanks! (by shiny21)
Question on using structs and functions
 
I have been working on a project for a programming class. The problem is as follows: "Write a pr...
[2 replies] Last: 1.-I forgot if you want to do the switch whitout classes here is the e... (by Edevan)
Question regarding system-wide Hotkeys and disabling keydown autorepeat
 
Hello, I'm trying to write a program which will use hotkeys to capture user key events and turn t...
[no replies]
Any more errors in this code?
 
I noticed that yes that important thing is parameters which matters in overloading.. btw these two ...
[3 replies] Last: lanti? (by stuckinthehouse)
array declare must have const value
 
I'm trying to create an bool array that is the size of a variable. When Using the code below i get t...
[4 replies] Last: If you don't need to do any resizing or adding/deleting elements of th... (by long double main)
Data Analysis Program help
 
Hello, I need to write a program that can calculate the rate at which humans get infected with Lyme ...
[5 replies] Last: srand is use to seed the random number generator. If you don't seed it... (by histrungalot)
by hilft
calculation problems, can't get the right output
 
I don't know why i=2 in the code below. Can someone explain how it became like that? #inclu...
[1 reply] : line 4: val is specified as passed by reference. When you modify val... (by AbstractionAnon)
HELP! Placing an extra copy of the 4th digit.
 
Hi, my goal is to write a function called doubleFour that places an extra copy of the 4th digit righ...
[10 replies] Last: Why don't use std::string? i means input, l means length and f means f... (by ngbeslhang)
Struct not declared problem
 
The program debugger says that 'student' was no declared in this scope. The coding program i use is...
[4 replies] Last: oh, yeah thank man (by XiangzhenWu)
Fibonacci recursion
 
Hey. Please explain how this recursion works. int fib(int n) { if (n <= 0) // Base ...
[2 replies] Last: Well, ok, since you said fib(6) which gives the result 8 was the onl... (by Chervil)
Project out of date
 
So every time I try to compile I get project out of date now i have turned off precompiled headers a...
[10 replies] Last: Just switched over to code::blocks everything works now! :) (by shiny21)
plz find the problem in code
 
plz solve the problem : Generate the first prime number larger than a given natural number 'number...
[2 replies] Last: yes , i want to stop the program, when it gives output which is 'the n... (by ABABA999)
&& and || works different
 
when i put "||" program end when x and y = 0, if i put "&&" program end when x or y is 0. can someo...
[5 replies] Last: and what we see ? "||" is or and "&&" is and but in my program "||" w... (by cire)
Console Crash
 
I'm writing a program for class and any help is appreciated. I'm not able to get anywhere because my...
[1 reply] : `strlen()' expects a null terminated string Also while (count < SIZ... (by ne555)
by txals
Serialization
 
Hi there, Is it possible to serialize/deserialize an object of any class that contains an STL cont...
[no replies]
by layanM
help :(
 
can anyone plz help me with this :/ i have to write a program that prompts the user to enter two po...
[4 replies] Last: Layanm: Start first: if it can be modulated by 2, then it's not prim... (by IWishIKnew)
Code Checker!. Can my code my improvedfurthermore.
 
Before, I start constructing a code for my main assignment. I would like to get an advice on my foll...
[14 replies] Last: Promt is a reference parameter, but you have it as cout..prompt. I d... (by cire)
by hilft
Class and function question quick help!
 
what is the different between using ->out() and sub.out() to call the function out()? Also, I would...
[3 replies] Last: anyone? (by hilft)
by azad90
Invalid char conversion error
 
I'm having problem to run this code involving the following function, I was trying to do conversion ...
[5 replies] Last: How do you convert char to int? I think you may mean a string of cha... (by Chervil)
A game (I have Dev C++)
 
How Do you make a game with arrow keys , please, i need help. 0 = The Player and # = The ...
[4 replies] Last: Okay, thanks for the help. ( WASD it is) (by Ibrahim M)
November 2013 Pages: 12345... 81
  Archived months: [oct2013] [dec2013]

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