Beginners - January 2011 (Page 41)

Why "<" but not "!="?
 
According to the logic design Comparator of "<" or ">" would need a lot of adders But "==" or "!=" would be cheaper than "<" or ">" If this is true, why most...
[6 replies] Last: Thanks a lot (by stereoMatching)
by moe93
What's wrong with my code?
 
its a simple Celsius to Fahrenhiet (and vice versa) converter. When I compile it, CodeBlocks keeps giving me the following warning: int f2c(): control reaches ...
[6 replies] Last: Ohh, ok...this is a whole better explanation! Got it man, Thanks =) (by moe93)
fclose always crash my program
 
//inFile : Pointer to a FILE object that specifies an input stream. //IN_NAME : The file name //TYPE : C string file access modes void openFile(FILE *inFi...
[5 replies] Last: chronokitsune, thanks a lot (by stereoMatching)
Importing 3D mesh data to Open GL
 
Is there anyway I can write a simple file program that imports 3D mesh into Open GL. I just want the mesh data, not textures... I've have read that 3D Max te...
[2 replies] Last: thanks, I'll look for tutorials (by Blessman11)
Please, be gentle....
 
I am new to C++ programing and to this forum. I just finished Java Programing in college (good riddance), and now I am on to C++, which seems to be a bit easier...
[17 replies] Last: But what I'm trying to get to is portability. GCC works on most, if n... (by Disch)
by ne555
Keep Console Open
 
This is what I'm trying to do: http://www.cplusplus.com/forum/beginner/1988/#msg7682 However it is not working with exceptions All in one ( issues with exit t...
[5 replies] Last: That's what I'm trying to do. But the idea was that the program to be ... (by ne555)
by ToniAz
vector <T> construction
 
Hello everyone! I was wondering, suppose I created a class foo as follows: class widget { public: int id; widget() {...
[3 replies] Last: NP ;) (by ultifinitus)
by borkus
First app without tutorial holding my hand...
 
Hey to all. This is my first posting showing some code that I have come up with without a tutorial, like the title says. It's pretty simple in that I'm only a w...
[3 replies] Last: Thanks for the responses, guys. It took me a bit to get back to this. ... (by borkus)
can we insert symbols ? ? dev c++ (1,2)
 
is there any way to insert symbols in dev c++ ? i want to insert a symbol of "ROOT" so how can i do that ??
[27 replies] Last: ok thanks a lot . (by im abcd)
Matrix Multiplication
 
Hi, I'm supposed to make a program that can multiplicate 2 matrices with fixed dimensions, the first one is , the second one is . I was able to find the res...
[2 replies] Last: Ok I solved it myself but thanks anyway. What I did is I switched the... (by novice4)
how to read and process text file ..
 
hello guys .... i'm having a problem here . I have this kind of data ... 2 3 4 1 -1 1 2 3 -1 3 4 5 6 -1 what i want to do is to read this data , line ...
[1 reply] : Everytime the loop found -1 , it will be go to next process which is ... (by wolfgang)
Day-to-day use of C++ programming lang
 
Greetings all. I'm studying c++ and I have been wondering how this language could be used for solutions in my normal daily life like banking transactions, retai...
[2 replies] Last: Here is a list of some software written in C++ http://www2.research.at... (by Bazzy)
by kwreck
simple Recursion atio issue
 
Just had a data structures class last semester... was working some exercises from the book in the chapter on recursion, and my code to "write a recursive funct...
[3 replies] Last: You may be better off writing your own simple int pow function: int ... (by wolfgang)
inlining overloaded functions
 
Hi, I've been having some problems with multiple initializations of some overloaded functions. Here's is my class header file #ifndef var_h #define va...
[2 replies] Last: Excellent, thanks for the reply. Never inlined a function before s... (by Despot Despondency)
string tag processing
 
Heylo, I am trying to write a search function that takes in a file formatted like html tags with only text between tags. depending on the function that ca...
[3 replies] Last: wow brillant, didnt even think of that! thx!! (by PolymorphicPinapple)
what's wrong with this statement ??
 
i think thats correct , but codeblocks keep telling me thats not : string * module; module = new string ; for(i...
[4 replies] Last: vector will take care of reallocating (should you ever need to change ... (by hamsterman)
by AARGH
new to programming. best way to learn this stuff?
 
i purchased c++ for dummies a couple days ago and am wondering what is the best way to learn this. basically, i have read up to chapter 4 and am finding out th...
[1 reply] : well, learnig by doing is the way to go. It's by far easier to memoriz... (by coder777)
Where can I learn to....
 
Hello! I would like to implement into my code, something where a user can login, and based on a stored value with the users name and password, would only all...
[1 reply] : Maybe it is not a good idea to store the password in plain text. Inst... (by ne555)
find the max tail and max head
 
hi i need help about this problem. Write a program to simulate tossing a coin (use a two-sided die). The program should toss a coin 10,000 times (or some nu...
[5 replies] Last: Put cout<<maxTails<<" is maxTail."<<endl<<maxHead<<" is maxHead."; o... (by Null)
by ToniAz
overloading [] operator
 
Hello Everyone! I'm creating a class widget class widget { public: int id; int array ; int operator (int index) {ret...
[3 replies] Last: I wasn't particularly expecting that - what does your code look like? (by guestgulkan)
January 2011 Pages: 1... 39404142
  Archived months: [dec2010] [feb2011]

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