General C++ Programming - May 2011 (Page 17)

arrays
 
can i ask the user to enter values for the array? if so..then kindly tel me how.
[1 reply] : Using a loop. int array ; for (int i = 0; i < 4; i++) { cin >> arra... (by Zeillinger)
sending many packets Ethernet simultaniously
 
Hello i'am developping an application with Visual C++ 2010 but i have a problem. i need to send many packets Ethernet simultaneously from application layer ...
[12 replies] Last: ok thanks for your advices kbw :) (by sloumanaw)
by Adidas
argv[] pass to header file..?
 
how do I pass char* argv parameters from the main to some header files? int main (int argc, char* argv ) { go(????) return 0; }//int main() ...
[1 reply] : //main.cpp int main(int argc, char *argv ) { go(argc, argv); ... (by Mathhead200)
Game Ideas
 
Does anyone have any game ideas I could make?
[2 replies] Last: you can make hangman or pacman type game (by amal rauf)
Help me out!!!!
 
I made this program but its not working in append mode (ios::app is not working). Can someone tell me where am i going wrong. Thank you for your help in advance...
[3 replies] Last: [co de]Your code goes here[/co de] ^ put those tags around your cod... (by Disch)
dijkstra algrithm
 
Hi, i just have question about the dijkstra,does finding the lowest cost in this function means same as finding the shortest path between two places?
[1 reply] : The two mean the same thing, yes, but just to be sure you know what a ... (by Albatross)
Make HH:MM:SS
 
Hello, how do i make this char pTime ; int Seconds = MCIWndGetPositionString(mPlayer, pTime , sizeof(pTime)); int Minutes = MC...
[2 replies] Last: Oh that was pretty easy ;O Thanks (by Mekolle)
Destructor for a 2d Array
 
Hello there! Have written a program for the first time using a matrix(2d array) Kinda stuck on writing the destructor for it,gettin memory leaks. Constru...
[6 replies] Last: Found where the memory leak occurs,problem solved;) (by menopaws)
A question about pointers
 
I am new to C++. However not to programming itself, as I have decent proficiency with C# & Visual Basic (unfortunately WINDOWS-only languages). Yet now I have g...
[9 replies] Last: // C++ (using references) Truck t; Vehicle& v = t; // C++ (using po... (by Nicezia)
conceptualizing a point of sale system- help please
 
Hi all, I've thought of a local small business venture I might pursue and I realized I'll need a point of sale system. I'm beginner to intermediate in c++ but I...
[2 replies] Last: Thank you very much Abramus that was extremely helpful, exactly what I... (by parliament718)
Reading CSV to Array Only Works in Debug?!
 
Hi all, This has been driving me crazy for hours now. I'm using a CSV file to transfer data in a 300x300 array from one program to another. The program rea...
[1 reply] : Ok, answered my own question. Problem was down to file access differe... (by edlaurence)
by guvenc
Using Libraries / error LNK2001
 
Hi, I am trying to use the NOMAD (an optimization software) library in C++. I am using Visual Studio 2010. I got error LNK2001 error. I have #include "nom...
[15 replies] Last: Glad you got it sorted :) PS: You can now mark this thread as "solved... (by anonymous23323124)
How would I indicate the result?
 
# include<iostream> using namespace std; int main () { int card1,card2, card3, result; cout<<"Enter the value of the first card: "; cin>>card1...
[2 replies] Last: You need to assign something to result, it will always be empty, until... (by princessjinifer)
by tonnot
Any free libraries to view Autocad dwg files ?
 
I'm looking for a free (or free without commercial benefit) library to open and view dwg (autocad) files. Do you know anything ? Thanks
[no replies]
Va_List <Bad Ptr> ??
 
So I am getting the error that va_list produces a 0xCCCCCCCC bad ptr. I know that it means that something is not being initialized right, or perhaps that its po...
[1 reply] : sizeof(va_list) What do you expect to happen? Do you expect to ge... (by LB)
Calculator
 
Does anyone want to learn how to make a full-out calculator?
[2 replies] Last: What exactly do you mean by full out? There are many tutorials on such... (by STLreliant)
draw this shape using opengl
 
hi all, i want to ask u about the following shape how can we draw it using OpenGL primitives: http://img103.herosh.com/2011/05/10/36849501.jpg http:/...
[4 replies] Last: plz help me :( this is my code I modify it and i get good result but ... (by computer student)
Pass a member function to a class to that affects the object itself
 
Hello guys, :) I’m trying to load a function pointer to a class I created. But I’m getting a “non-matching function or call” when compiling. (I want ...
[7 replies] Last: I went around the problem and solved it another way. I, unfortunately,... (by TheDestroyer)
elimination of special symbols
 
code for deletion of "**" which is read from an input file and in place of these special symbols a tab or one space has to be placed in the output files that ar...
[1 reply] : Read a char with in_file.get(), write it with out_file.put(). If the c... (by hamsterman)
Problem with push_back(pair<int,float>)
 
I'm working on an implementation of a genetic algorithm to find good solutions for a problem. This requires me to store a vector of pairs, where each pair consi...
[2 replies] Last: Weird. for debugging, I added this line following _path.push_back(curM... (by redneuron)
May 2011 Pages: 1... 1516171819... 32
  Archived months: [apr2011] [jun2011]

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