Beginners - March 2012 (Page 39)

Just curious
 
Stupid question but just out of curiosity, what would be the problem with including every single library by default in your programs?
[3 replies] Last: It would also be rediculously tedious to link the libraries to your pr... (by Zephilinox)
by Lio
Operator cin overload
 
If my variables are public the operator cin works no problem,but if they are private it doesnt work.I try to fix the problem with set functions ,but still doesn...
[5 replies] Last: cin is not an operator, it's an object of class istream. You would ne... (by alecrock1)
Please read this EVERYBODY and please post a reply
 
I know right this isn't something worth replying at or shouldnt be replied to. I need yall help,I've always wanted to learn C++ and know it to the fullest.I kno...
[10 replies] Last: Screw books (programming ones at least, normal books are fun :D ) they... (by Zephilinox)
grade system to input and avg output
 
The
[4 replies] Last: Texan 40, Thank you I enjoyed you putting your comments in the code. ... (by Diana Magers)
by oded
Technical problems
 
Hi folks, I just started with "codeblocks" few minuts ago and when I finished with the installation I ran this software when suddenly I saw that my whole "co...
[no replies]
simple recursive program
 
Wrote this simple recursive program... didn't worked... checked the book, it's written just like there. #include <iostream> using namespace std; long...
[3 replies] Last: Oh wow haha. I'm not sure how I didn't catch that. I guess this is why... (by ResidentBiscuit)
**
 
Hi all, I would like to understand the following loop, used in a remote control program (interaction between two entities using pipes) in thermodynamic modeli...
[2 replies] Last: Thank you very much for this simple explanation! Skyboarder (by Skyboarder)
1068. Sum
 
I need to find the sum of all integer numbers lying between 1 and N inclusive and it seems that my program is wrong.. Input The input consists of a singl...
[2 replies] Last: Looks fine to me (by ResidentBiscuit)
Access to Public and Private Variables in One Class From Another Class
 
Suppose I have a class called Class1. In this class, I have a private variable (call it privateVariable), and I have a public variable (call it publicVariable)...
[3 replies] Last: Thank you! (by skyline01)
Counting Characters
 
Hello again C++ WORLD! I am once again having trouble with my program. I am trying to creat a program that will count the total number of characters, the number...
[13 replies] Last: wow seriously... THANKS!!!! I've been really stuck (prob because I'm a... (by Joshua Spears)
Small Problem with Switch Command
 
Hi, Im working on a program using a class and im just having a problem with my switch command in my main program. I get an error that says i need a primary expr...
[12 replies] Last: Code works give it a try. person.h #include <cstdlib> #include <... (by Subzero030201)
calling a function from within another class
 
filtSliderVal = 0.5; float cuttofFreq = (filtSliderVal * filtSliderVal * filtSliderVal) * 9950 + 50; here the filtSliderVal is set to 0.5 but i w...
[1 reply] : I'm having trouble understanding your question, because it looks like ... (by clanmjc)
how does reading a txt really works
 
Ok, so I we learned in school a while ago to read a file and the teacher said it must be done like in the next example: numbers.txt contains the following: ...
[6 replies] Last: So I found http://www.cplusplus.com/doc/tutorial/files/ But I can't ... (by catalin10)
syntax error in a template class including a struct
 
Hi all, I want to declare this : template <typename T, int s> class D { public: D(T a1, T a2); ~D(); bool get(T& a); private: struct triple { ...
[2 replies] Last: Thanks Peter87. I cannot check yet if it compiles, but at least the... (by lalebarde)
Neural networks... probably doesn't belong here, but I need it in beginners terminology
 
I don't understand neural networks at all. I'd like to begin my own artificial intelligence program, but I can't seem to make sense of neural networks. Could so...
[5 replies] Last: So if I want one that's going to run my pc, how would I do that? Think... (by NerdTastic)
by JanisM
files in out
 
Goodevening everybody. I have a problem like this, I want to write script that take word from first fail and put in other only in that case if there is 'm' let...
[1 reply] : another problem, ok I solved my first stupid problem, but now he write... (by JanisM)
Basic Threading
 
I have a basic program that takes some video files, creates a playlist, and then opens the playlist in Totem (video player). Now, this works just fine but my...
[9 replies] Last: Thanks, it seams to be working now! (by shiznatix)
end of file found before bracket.
 
apparently i missed a bracket but i cant find it. been looking for this error for 2 days now i cant for the love of god find where the error is any help on the ...
[2 replies] Last: if(rightpaddle_1x + paddle_width > 1023) rightpaddle_1x = 1023 - pad... (by NerdTastic)
Mod operator
 
Im confuse as to how to use mod operator, can someone please anxplain how and why to use this?? Thanks
[5 replies] Last: Why are you using modulus at all? It looks (unless I'm misreading this... (by NerdTastic)
closed!
 
i am having problem debugging a program with function,while loop,if statement and array .. i need help .. tell me how could i combine this 4 ..
[7 replies] Last: If you can tell us what is wrong, and post it inside of the code tags ... (by NerdTastic)
March 2012 Pages: 1... 3738394041... 71
  Archived months: [feb2012] [apr2012]

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