General C++ Programming - April 2013 (Page 12)

how to limit the number of function call in C/C++
 
In my program, i have a function, example: bool open(string szString); this function i have known i...
[2 replies] Last: Thanks you, Could you please illustrate program memory when we call fu... (by ta tung)
8 Queens
 
Does anyone scout the problem with my Eight Queens solver? the output is this 10000000 0000...
[2 replies] Last: errr... this code is scary. if(placeQueen(*new Queen(0,x))) is a mas... (by Zaita)
Working with strings
 
Suppose we had a particular site is sending only random variables via url, but before sending Random...
[no replies]
Converting cmdline tmain function into a library function.
 
I need to convert this code into a normal function that can be put into a library. Code: #include...
[1 reply] : Trying to make it work, not scanning properly. #include <windows.h> ... (by closed account 18hRX9L8)
random numbers.
 
hello everyone im just messsing around making a program, and ive stumbled upon a problem. bassicly i...
[9 replies] Last: [quote=makeitloud]wow dude, i wish i could understand that, thats real... (by closed account 18hRX9L8)
Creating a BTree(Binary tree)
 
In class we were asked to create a C++ BTree program that would allow a user to input the following ...
[4 replies] Last: This is what I have managed to rebuild: #include <iostream> #include... (by anash21)
Linked List Concatenation
 
Having trouble with concatenating a linked list.. Can anyone tell me why when I call the display fun...
[5 replies] Last: That worked... template <typename T> void LList <T> :: concatenate (... (by jjroyale)
Binary file handling in c++. unexpected error! Please help
 
I was trying to read the data that i wrote to a binary file using structure. i used struct pointer...
[no replies]
program code for autopilot helicopter
 
Hi anyone who can provide a souce code for autopilot helicopter. because i'm doing a project.
[4 replies] Last: "raw data in hexadecimal" Can't get more vague than that. (by Disch)
segmentation fault. please help!
 
segmentation fault. please help!
[4 replies] Last: Use another debugger than. What IDE are you using? It might have a bui... (by Zhuge)
Counting the number of each type of variable
 
I'm a basic C++ programmer, and I am stuck on this problem. You work for a company that collects a s...
[1 reply] : How to count? For example, you throw dice. When you get 2 for the fir... (by keskiverto)
by Nobun
Binary Platform-independent. How to?
 
Well, after reading the topic "Force stream << >> to interpret as binary"I am trying to develop a Bi...
[16 replies] Last: I don't know of C++ compilers for systems with non-8bit bytes, but C c... (by Cubbi)
Student Database: help with ifstream and ofstream operators
 
Hello, i've been working on a student data base that reads in the students name, birth date, social ...
[3 replies] Last: this is how far ive gotten. #ifndef HW #define HW #include <iostrea... (by czhines)
Starter Programmer help please. I'm using RECURSION
 
The point of my code is to evaluate a mathematical expression that's already formed in a Binary Sear...
[1 reply] : Pass them by reference or their addresses. In this way, you can do som... (by ingenioushax)
unsigned char print
 
Hi, how do I print an unsigned char in c++? e.g. unsigned char a = "acdef"; wprintf(L"a is %u\...
[6 replies] Last: aha, that works! thanks! :) (by hansaaa)
by piotr5
found a use in union ctors and dtors
 
template<int N=1> union slices { int k ; slices<N-1> tranche; slices(){k[N-1]=N;} }; temp...
[16 replies] Last: > unfortunately my compiler doesn't allow specifying an initializer >... (by JLBorges)
by Haze
Searching a text file
 
im have real trouble with this one, im trying to make a function that will take in a users ID and se...
[3 replies] Last: is the std::string c++ or something different? (by Haze)
A counter program using classes. I'm really desperate.
 
I've been sitting her for nearly four hours trying to figure this out... Please help, I'm on the ver...
[no replies]
Linked List BubbleSort
 
Can anyone help..why isn't this bubble sort working? void LList :: bubbleSort (LList A, int n) { ...
[6 replies] Last: If i comment out the line after the if statement that reads temp = ... (by jjroyale)
April 2013 Pages: 1... 1011121314... 53
  Archived months: [mar2013] [may2013]

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