Beginners - November 2013 (Page 35)

by enemy
How to DECLARE cout???
 
1. Line 2: error: invalid suffix "a" on integer constant 2. Line 17: error: 'cout' undeclared (firs...
[4 replies] Last: It happended also that codepad left one program, devcpp wrote "cout no... (by enemy)
Help to take away global varaibles and to make use of return value
 
Hello, i would like to ask for an advice on how to change my code so that i can take away my glob...
[5 replies] Last: It could be considered a matter of style or preference. I've program... (by Chervil)
Thread Breakpoint Error
 
I am receiving an lldb error that I cannot get rid of with this code. The lldb debugger returns this...
[2 replies] Last: I have edited the code to include call by reference parameters, but I ... (by ldelsignore)
by tim039
c++ programming
 
hey everyone, i would like to start learning c++ programming and i was wondering if the book c++ pro...
[3 replies] Last: On the contrary, I suggested so many so that you pick any one and foll... (by The illusionist mirage)
learning C++ without an IDE
 
Howdy I was learning Python using 'learn python the hard way' and I found it extremely useful. ...
[4 replies] Last: What bad habits are you referring to OP? (by ranfan)
enabling EHsc
 
Hi i have installed latest version of codeblocks 12.11 and wrote a an example code and tried to run...
[no replies]
by er0007
creating a calculator
 
Hello world! i need help to code a programm that will find the max and min digits from a given numb...
[2 replies] Last: first of all i would like to thank you for the reply. secondly,can yo... (by er0007)
Problem passing a vector through a function
 
I'm new to programming, so bear with me. Part of my code requires me to calculate the mean of all th...
[7 replies] Last: There may be an integer divide problem. Try changing the definition to... (by Chervil)
Code not appearing in IDE console?
 
This could be a codeblocks question but as is often the case, my code is more than likely the cause ...
[2 replies] Last: NT3, you're a legend. That is exactly what is wrong with it. You're... (by dominover)
facing run time error
 
First the prog asks for "enter character 1:", but when I press enter it should ask for "enter charac...
[3 replies] Last: Perhaps like this: do { if (c != '\n') pr... (by Chervil)
by enemy
k not declared in this scope???
 
k not declared in this scope??? scope??? int Prime (int array_ , int st) { do { ...
[9 replies] Last: [quote=enemy]So, when b=0, Prime() is not called, when b=1 we call Pri... (by Chervil)
by Blank
i need help please
 
this is what i have so far...for some reason when i output the amount the number is too big for ex...
[1 reply] : try this instead : cin >> TitcketA >> TicketB >> TicketC; ... (by nvrmnd)
need help with fraction operations assignment
 
I have to work on an assignment were I write a program where the user inputs a numerator and denomin...
[1 reply] : Were you given a prompt to follow? I would suspect that you're expect... (by Albatross)
I need help
 
I'm a college freshman with no experience in programming. Can I please have some help with errors an...
[3 replies] Last: display full program :/ (by white beauty)
Learning a New language
 
Hi everyone, i am new to this forum and to C++. I am a web developer, and have knowledge in HTML, C...
[1 reply] : [quote=ransack]my question is: why is it so easy for me to look at HTM... (by The illusionist mirage)
Read from console
 
Hi guys :) I want to read the console output in a string. Is there a easy way to do this ? Somethi...
[3 replies] Last: Thanks JockX,I ment the second task.I will take a look at those links ... (by Guzfraba)
by enemy
Declaration of function
 
Hello! Is that the normal function declaration, for function named "numbers" having 2 parameters (i...
[2 replies] Last: First of all please use indentation... http://indentcode.net/ Secon... (by giblit)
how to see if all elements of two arrays are equal
 
i'm stuck on how to compare all the elements of two arrays to see if they're equal. the code I've wr...
[2 replies] Last: Lets see how we would do this on paper first. Check each letter and s... (by giblit)
by enemy
print 20 prime numbers bigger than 6
 
Please, where is the mistake? int prime(int d){ int e=0; do { for (int i=2;i<d;i++){...
[4 replies] Last: Hello! Printing numbers is not enough. The problem is,I have to save ... (by enemy)
by enemy
array filling in function Prime-please, they are requiring this!!!
 
invalid conversion from 'int' to 'int*' ??? int e=1; for (int i=2; i<st; i++){ if (st%...
[3 replies] Last: int Average(int array_f , int st){ int m=0; int k=0; int e=1; for (in... (by enemy)
November 2013 Pages: 1... 3334353637... 80
  Archived months: [oct2013] [dec2013]

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