General C++ Programming (Page 9)

New! Join the C++ community on Google+
linear search
 
i am beginner in c++ can i know how to make a linear search for an ordered list to find out small an...
[no replies]
Last record is repeated two times
 
I am working with binary file in c++. I can write in the file but when i displaying the file content...
[1 reply] : > what is the problem. Guess: you are doing something like: while( ... (by JLBorges)
retrieving list of integers from file
 
i Have created file with 50000 integers of list now i need to retrieve the list can any body help m...
[2 replies] Last: Thank you :) (by kavi123)
by smelas
vectors, arrays
 
elements of the array: 1,2,4,10,12,14 array_size = 6 I want to find the max width between each nu...
[no replies]
php logic
 
hi, can i practice logic in programming, using php? or is it better to practice some exercises to de...
[no replies]
Read 2d array from txt file
 
Hello. I have a problem. I have a huge txt file - 10.4 MB (13316 lines by 75 columns) that I have ...
[8 replies] Last: I'd recommend using a debugger, so that you can see what values R , ... (by MikeyBoy)
Inhert from two diffrent files?
 
Is it possible to Inhert this class from my ObjectH.h file into my other header file's or cpp file? ...
[3 replies] Last: // Object.h #ifndef OBJ_H #define OBJ_H class Object { . . . }; #... (by TTT)
Recv blocking after select
 
Hi. What I'm fighting with is a recv call. This recv call is firmly conditioned by a FD_ISSET() call...
[2 replies] Last: You can use select()/recv() with blocking sockets. Your problem is th... (by kbw)
by Kastis
Need help with this. Any suggestions?
 
#include <iostream> #include <string> using namespace std; class Telknyga { public: ...
[1 reply] : http://www.cplusplus.com/forum/articles/40071/#msg218019 http://cplus... (by ne555)
Writing to a file problem
 
Hi all, I have a problem writing to a file. I don't know where I'm wrong. Any help will be greatl...
[10 replies] Last: whitenite1, thanks again for your replies. I tried the above code, it ... (by therry1)
How do I get in to list that is in a list!?
 
srand(time(NULL)); int rand_cust = 0; list<cash_register> l1; list<cash_register...
[3 replies] Last: Thanks for the answer! I have one more question if want to loop throu... (by dasmonk)
Why do i need to use cin.get twice ??
 
Hey guys, i was writing a very simple program and came a across an problem. In order to stop my prog...
[1 reply] : cin >> b; This leaves extra junk in the buffer. Try inputting 2xyza... (by firedraco)
I need help sorting by Last Name my Linked List
 
This is what I have for now. I need to : 1.Modify function Find() to locate a person by last na...
[no replies]
Loading .obj file in OpenGL
 
Ok so I have made a basic parser and loader for a 3d .obj file made in Blender. I know that the code...
[1 reply] : Here is the .obj file that I am using. Sorry about not commenting the... (by Jayhawker07)
Void Function Arrays
 
Hi Guys, Need some help and keep getting stuck. Need to populate an array using srand() and ...
[1 reply] : This line right here: return fillArray; ends your main. Nothing ... (by pogrady)
by beeb
Function call not working
 
I'm trying to call this function that will ask for the user input and return it back to the main() i...
[3 replies] Last: Hi :-) a function in C/C++ can't return more than one value (Lua can)... (by elnineo)
Binary Tree
 
I am a little confused about how to draw a binary tree using Pre-Order Traversal, the root would be ...
[2 replies] Last: So given these numbers: 47 43 20 24 32 44 35 , how would the tree look... (by t2nator)
by beeb
Possible? Using a variable w/in a if statement outside the statement
 
Is it possible to access a variable that has been assigned a value within a if statement to used out...
[1 reply] : Obviously, you can. You probably mean a variable that has been declar... (by Athar)
Problem with pointers (inherited classes)
 
Hello again. In my project, AnyObject is the basic class containing a destructor and a constructo...
[13 replies] Last: struct node { AnyObject d; node *ls; node *rs; }; To expoun... (by cire)
by Smac89
Extend an array
 
Trying to extend an array by creating a new array and filling that array with values from the previo...
[8 replies] Last: @helios, thanks man, you have been helpful (by Smac89)
Pages: 1... 7891011... 77
  Archived months: [oct2012]

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