General C++ Programming (Page 51)

by yo2xia
SSE value calculated in C++ eigen is different from true value
 
I am a beginner of C++. Any help will be very appreciated! I can successfully compile and run the f...
[2 replies] Last: @MiiNiPaa thank you, i have got the answer. MatrixXd is more precis... (by yo2xia)
NEed help with my homework. Almost complete
 
What can i change in my code to make this run accordingly? using VS2010. The population of ...
[1 reply] : First of all, formatting the code would have given line numbers and ma... (by tipaye)
When System sleeps/hibrante ?
 
i am looking way to make a text file in windows. if system goes to sleep or hibrante mode then make...
[1 reply] : http://www.google.com/search?btnI=1&q=msdn+SetWindowsHookEx http://www... (by Duoas)
fixing the sequence of display without rearranging the defined string
 
hello. when i run this program the sequence of the message was reverse.can you help where did i go w...
[1 reply] : Did you write this code yourself? (Because if you did, you ought to kn... (by Duoas)
error, convertion into COFF, visual express
 
hey guys. my name is daniel, and im a new member of this forum. im a student of mathematics, so i ...
[2 replies] Last: hey Observer. its working now! =) thy ========== Build: 1 succeeded, ... (by xiaoshitourasputin)
Display vector
 
I need help displaying my vector in c++. my code is below and search for: I WANT TO DISPLAY MY VE...
[3 replies] Last: are you doing this to teach yourself about templates? If not then don'... (by mutexe)
Custom "String" class problem(s)
 
Hello! I am currently working on a custom "String" class in C++ for a project. When I just use...
[5 replies] Last: Thank you, I got it working now. (by RotatingAxis)
Lvalue and Rvalues
 
can anyone halp me with this id2=toupper(getche()); //id2 is a char //it has an error that says...
[2 replies] Last: Please, show some context. int should be perfectly convertable into ch... (by MiiNiPaa)
by Noori
nearest neighbor
 
In this project you are asked to find K nearest neighbors of all points on a 2D space. The distance ...
[12 replies] Last: 10 is the number of points in coordintates and 2 is the number nearest... (by Noori)
Switch statement not working! MUCH FRUSTRATION!
 
/*Write a program that asks the user to enter a number within the range of 1 through 10. Use a...
[7 replies] Last: Please, show me how to get 10 in a single char. Only his problem was q... (by MiiNiPaa)
Pointers,References,Smart Pointers
 
Hey, I'm a Game Developer and saw a lot of Game Engine Code and Company Code(C++) and I'm still not...
[5 replies] Last: Well when I use pointers i just use them like -> string name* = &othe... (by mutexe)
by zoso
using variable in the "pow" function
 
I'm trying to figure out what is wrong with this: static_cast<int>((pow(x, counter+1)) % 10) i...
[5 replies] Last: k (by closed account 1CfG1hU5)
Aliasing member variable names
 
I have been playing about with Vertices and Colors and have ended up with this: template < std::si...
[3 replies] Last: C++ does not have such facility. So you have to emulate it. Honestly, ... (by MiiNiPaa)
by Ispil
Bizarre SegFault
 
Well, this one has me stumped- I have code that... well, works. Other than some segfault. Using Code...
[7 replies] Last: Yeah, I realized that for what I'm doing, there are already much bette... (by Ispil)
Quick question on continue (1,2)
 
4. Describe how "break" and "continue" statements work with looping constructs. Consider th...
[21 replies] Last: spare me the technical bs. You're on a forum where it pays to be te... (by cire)
can "endl" be changed to end line twice? (1,2)
 
cout << "this is a sample text " << endl << endl; int t; t = endl+endl; ? looking for...
[27 replies] Last: whatever a #define is called, someone posted don't use a ";" with #def... (by closed account 1CfG1hU5)
by YEUNG
how to make this , i have no idea about nested loop
 
when i enter an integer 5 , two pattern just like the following would print pattern 1 Pyramid A: ...
[2 replies] Last: Modular arithmetic to the rescue, make use of the % function. (by kemort)
Hey guys need some help!
 
Hey guys I'm in terrible need of some basic help, I was given this assignment and i can't quite figu...
[2 replies] Last: THANK YOU !!!! <3 (by Drew214)
Help me move pieces in a checkers game.
 
I need to make the game checkers in a 5x5 board. I have created the board and put the pieces in the ...
[no replies]
by santix
function argument
 
Hello... I want to declare a function that prints any nxn matrix But the compiler won't let me ...
[2 replies] Last: I use C++ in Code::Blocks. Ok, I'll try to slowly understand the ans... (by santix)
Pages: 1... 4950515253... 67
  Archived months: [sep2014]

Cannot post in this page. To post a new message, go to the first page.