Beginners - October 2010 (Page 21)

using IF statements
 
Hello World!! I am trying to compile a program whereby the user in puts 3 numbers in a loop. With...
[2 replies] Last: Thankyou Zhuge! Your helpful guidance is most appreciated!! (by steallen)
by dardar
STRTOK question
 
i have a problem using strtok. i'm trying to write a c program that counts the number of words in a...
[4 replies] Last: Hello dardar, in the link above it says: C string to truncate. Th... (by coder777)
somebody teach me how to make a program with BOUNCING TEXT?
 
guys pls give me an example of a program and that is a bouncing text.. your help will be appriciate...
[4 replies] Last: You could at least show people what you've started rather than just co... (by rej3kt)
C++ math.h functions
 
Hi guys. I'm new to the programming field (first C++ class in a CIS major). My instructor has given ...
[7 replies] Last: Thank you all so much for your help. I really appreciate you guys taki... (by tresk21)
Variable not declared in this scope
 
Was trying out the example in my textbook but keep hitting this error 'sizeofYardInSqFeet' was not d...
[2 replies] Last: Thanks. I need to make lesser of such mistake >.< (by jellyfish)
How do i assign things on a .txt list to a variable?
 
I am not understanding, and sadly getting frustrated, on how to assign the info from a 10 line (ex. ...
[1 reply] : When the right-hand side of << is a... what is info? Ah, yes, a charac... (by Albatross)
ASSISTANCE NEEDED!!! Thank you
 
I have a project to complete and i am new to c++ can you assist me. Here is the question: 1)...
[14 replies] Last: This operator accepts one parameter, which can be either a type or a ... (by Albatross)
Logical operators in a function
 
Here's the code: long sum ( int m, int n ) { int o = 0; int p = m; if (p > n) (o =...
[2 replies] Last: Of course, thanks. Wood for the trees and all that. I've always been a... (by rassilon256)
Using limits to give an error message for a negative, non-integer
 
Hey! I'm currently writing a program that calculates the factorial of a given number. This number...
[2 replies] Last: And just to let you know that you can, you could actually crunch that ... (by closed account 1yvXoG1T)
Great C++ Beginners Tutorial
 
Here's a tutorial that I think a lot of beginners would find helpful. It explains things very well a...
[no replies]
every 3rd integer
 
For a class assignment I have to get input from a text file using a while loop. I also have to compu...
[2 replies] Last: Hamsterman, Thanks for your reply. That example returns the same resul... (by ALOTANOTA)
My first program
 
Hi. I'm new to programming, i started reading and playing around with it like last night so i'm a bi...
[2 replies] Last: return 0; is not necessary for the main function, as it will implici... (by Athar)
Code will not compile for program using class/derived class
 
I am very new to programming. I am having problems getting my code to compile. I thought I followed ...
[10 replies] Last: My apologies. Now I see why I was supposed to include the tags. I upda... (by linsll68)
by wtf
Trying to learn pointers.
 
Could someone tell me what is wrong with this code? I'm just trying to re-teach myself the syntax...
[1 reply] : In the first loop you're assigning list->next (which is uninitialized)... (by Athar)
by airowe
Inheritance/Polymorphism Issue
 
Since you all have been so helpful recently, I wanted to ask for your help again. I'm getting some ...
[2 replies] Last: #include <iostream> #include <iomanip> using namespace std; #inc... (by airowe)
Best practice, global variables
 
Hi everyone, i've read a number of articles saying global variables are bad for good reason. I'm try...
[2 replies] Last: Thanks dude, just seems like i am creating variables in main and tr... (by berabus)
by wtf
What could be causing this:
 
I have isolated another error in my program. It occurs in my dlist class. I don't know how ...
[2 replies] Last: It checks if N = 0, and it exits the program telling the user (i.e. me... (by wtf)
Can't understand array sorting code.
 
Hey guys, I got this program from my book, but need help understanding it. I will type it out with c...
[2 replies] Last: void sort (int n) //the function takes the length of the array { ... (by blackcoder41)
equality on char type
 
I'm making a program that receives input from cout and uses cin to put a value in a char. ch...
[8 replies] Last: if(strcmpi(name,"bob")==0... Eww, no. strcmpi is not even part of t... (by Athar)
by ARWA
how to call the base func in the derived class!
 
how do we call the functions of the base class in the derived class? is there any presedure shul...
[11 replies] Last: from what you posted I don't see any reason fo that "pointType " is N... (by coder777)
October 2010 Pages: 1... 1920212223... 42
  Archived months: [sep2010] [nov2010]

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