General C++ Programming - March 2012 (Page 27)

Articles/tools for testing/debugging?
 
Are there any articles or books snippets which go into how to go about testing and debugging? Also, what tools do you recommend for testing and debugging? I ...
[5 replies] Last: Yes check if your eclipse already has one of http://download.eclipse.... (by therockon7throw)
by adn258
A String Stuck Inside A Char Or TCHAR Array?
 
So there's one function resolving links to their targets that I am still working with. Unfortunately in this weird instance it is required (And in other instan...
[8 replies] Last: So I ended up with this and I have multi tested it for this weird situ... (by adn258)
Help homework/project
 
I have to do a parallel programming project in a course. I'd like to do something in mpi and pthreads but I can't really come up with a (fun) good idea. If anyo...
[2 replies] Last: Why would I ask for my own code..? Fire away friend, ideas! As of now... (by liquidfuzz)
class code
 
Hello guys i have to do a code with a class of 3 different fields of any data type,(class Person or Building or Car)and 2 constructors(one default and one with ...
[1 reply] : The syntax is wrong. You probably need to read a tutorial on C++ Clas... (by kbw)
ADTs implemented with dynamic data structures
 
So my professor told us in class that "Abstract Data Types implemented with dynamic data structures almost always require the redefinition of three particular m...
[2 replies] Last: The dynamic part of the question suggests to me he means, destructor, ... (by naraku9333)
Making a program which will start up when PC starts up
 
So my question is: How would I make a c++ program that starts up when the user logs in to their account and views the desktop? Such as how MSN starts up automa...
[10 replies] Last: Besides, if you don't know much about the Registry we probably shouldn... (by cnoeval)
how to make a line
 
how to make a line
[6 replies] Last: cout<<endl; invisible line even better (by Crimzon)
Waring 4804
 
Hello i have littel problem: I don have big experience for C++. Can some one help me ? unsigned short CBGServerMap::AddCharacter(CCharacter* lpCharacter) { ...
[2 replies] Last: Please use code tags next time. It makes it much easier to read your c... (by Peter87)
Dll for c++
 
Can someone please break it down for me on a stupid level on how to make a dll for a c++ program and access that dll from c# and use c#'s gui to display the inf...
[1 reply] : Dll's are windows specific, there is no way to do so in c++, it's a co... (by closed account o1vk4iN6)
How do you split dollars and cents from a net pay?
 
int main () { double C,M; cout << "Cost? " ; cin >> C; cout << "paying? " ; cin >> M; cout << "Your change is " << ...
[3 replies] Last: thanks for the help guys (by iNinjar)
about return an array
 
OK. I get it that to return multiple variables from a function is a dead end. And to use global variables is simply too messy when the program grows bigger. And...
[12 replies] Last: int*foo (int* array) { return array; } int main() { ... (by viliml)
Need non integer character for breaking out of loop
 
Below is a simple program for class. I need to find a way to break out of the code if a lowercase "n", or "N" is pressed. Right now if 0 is pressed the code bre...
[2 replies] Last: (char(X)!='n' && char(X)!='N') <- this will not work. The only wa... (by Disch)
WHAT IS OVERLOADING AN OPERATOR?
 
Can somebody explain to me what overloading an operator is, and what purpose does it serve? I've red about overloading operators for objects (e.g +, -, >>, << e...
[2 replies] Last: http://thenewboston.org/watch.php?cat=16&number=50 (by Need4Sleep)
Way is this so slow?
 
Hello I made this simple search function and when giving it a big amount of data. It takes forever to complete am talking between 6-7 digit sized buffer. Anyon...
[5 replies] Last: Yes I was laughing like hell when I woke up this is funny stuff :p He... (by WetCode)
vector to void error
 
Hello, i would like to ask how to convert std::vector<int, std::allocator<int> > to void* ?
[5 replies] Last: Thanks ! (by newdomingo)
by nrst87
Texture disappears!
 
I load a HDR image as a texture and I wrote shaders to map the 2 texture to a sphere but texture disappears when I click on it or when I resize the window! Here...
[no replies]
Passing by reference
 
So I want to take the word I make from the array and turn it into it's proper version of the word through pass by reference but my pass by reference wont work. ...
[3 replies] Last: Luckily arrays by default are passed by reference, Arrays are not p... (by cire)
reading jpg into binary
 
i need a code for converting my .jpg into binary, i have used fp=fopen("E:\\address.jpg","rb"); but the problem here is when my rest of the code runs where i...
[2 replies] Last: actually i am trying to encrypt and decrypt an image, my code runs fin... (by javariarizvi)
Problems in passing a multidimensional array to a function
 
Dear Sirs, I have some problems in passing a 2D array to a function. I know that I have to define the dimensione of the second index of the array, but in my c...
[4 replies] Last: Thank you very much. I solved the problems! (by chianda)
by jtm
Creating an array of strings and reading it
 
Hi i am new to c++ and i am working on Point Of Sales programs.I have been asked to write and functionality in the current software so that it handles buying ...
[no replies]
March 2012 Pages: 1... 2526272829... 49
  Archived months: [feb2012] [apr2012]

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