General C++ Programming - March 2011 (Page 29)

Random
 
Ok, i read the article on "rand" in the C library (http://cplusplus.com/reference/clibrary/cstdlib/rand/), but i still have some questions: /* initialize ra...
[5 replies] Last: You know, you don't have to use a char array for your alphabet =) a... (by ultifinitus)
by Dixiie
Converting Celcius to Fahrenheit and vise versa
 
How do I use functions to write a program that prints charts showing the Fahrenheit equivalent of all celcius temperatures from 0 to 100 degrees and the celcius...
[3 replies] Last: Dixiie , What specifically are you having a problem with? (by closed account z05DSL3A)
Free Open Source DSP C++ Library
 
Greetings. I would like to offer you my latest creation, an open source MIT-licensed C++ library for implementing IIR (Infinite Impulse Response) digital filter...
[no replies]
by kuleee
Dijstra algorithm
 
I need the dijstra's algorithm implementation in C++. please help us:)
[4 replies] Last: I think that forums help people...I was wrong ,I m sorry... note:... (by kuleee)
problem with this array..
 
the problem is : Create an array of N integers. ask from the user how many element he/she wants to input in the array. Determine the sum of all numbers, ...
[2 replies] Last: the program is now ok except for the last statement of the problem t... (by manyeahkiss)
cant pass the pointer to the funtion
 
this is really stupid of me but the compiler shows error sayin that add function is not declared. When i remove the pointer from the argument of add...Test* add...
[5 replies] Last: Um... do you mind writing in standard english? Or at least, do it like... (by hanst99)
multi dimensional array of pointers
 
i want to create a multi dimensional array which can store address of different variables. please tell how to do that??
[6 replies] Last: @bluecoder If you want to dynamically allocate the array, you can use... (by simeonz)
by Dixiie
Multiples of the number 2
 
Codes to write a program that keeps printing the multiples of the number 2. The loop should not terminate.
[11 replies] Last: Thanks everyone for your contribution (by Dixiie)
C++ .exe running problem
 
Hello; I have a cpp program. I compile it without errors.I use it for simulation.But my exe. running 30-40 steps then stop calculating and program not finish...
[4 replies] Last: Take is easy guys, it's his first post. (by kbw)
by aatwo
Concatenating arrays
 
Hey guys. I vaguely recall some way to temporarily concatenate arrays of the same type and was wondering if anyone knew either the syntax, of if I was imagin...
[3 replies] Last: Thanks guys this was tremendously helpful :) really apprieciate it! (by aatwo)
Binary search tree class - output to file
 
I have made a BST class. It has all the regular tree functions, add leaf, inorder, preorder, and postorder traversal. Currently the traversals simply use 'c...
[10 replies] Last: just a note to anyone else who reads this who has trouble in this area... (by closed account zwA4jE8b)
Filling a deque with buffers
 
Hi, I need a way of storing many streams of data in buffers. I will be getting real time temperature data from many cities through a socket. For each city, I wi...
[4 replies] Last: YES! It works. :D Thanks a million. (by siegel14159265)
by jhall
problem with program
 
hello, I'm having problem with my input file and using the while loop. I'm suppose to read in the the input file then use a while loop to read in the input file...
[2 replies] Last: You really dont want to use >> to insert into a c-string, use getline(... (by naraku9333)
by chess
getchar and putchar
 
Please place delete button nex to the post
[3 replies] Last: Line 19 is redundant, because flag == 1 anyway. The case in line 25-2... (by simeonz)
adding new data into text file?
 
Hi, I need help in how do we add new data into a text file. But then the file has only a limit for 20 students. If there is no space for another new student, re...
[4 replies] Last: Sure there's definitely a way.... If I understand correctly you only w... (by ultifinitus)
compiling error
 
Hi, can someone please identify my error? cause I can not detect my own error. Apparently the error is at cin >> RegNo. What is wrong with that? #include <...
[5 replies] Last: alright.. thanks guys for the info.. (by student 123)
Unicode character check (1,2)
 
Hi. I'm using visual c++ 2010 and I'm trying to read from a file with unicode, check for a newline at a certain point, and replace it with a space character. ...
[21 replies] Last: It worked!!!!!! With no warnings! I haven't debugged yet, but at least... (by drowdemon)
by raduq
Microassembler in C++
 
Hello! I have a school project due in two months and I have to make a microassembler in C++. I've looked for some tutorials but haven't found any. Could anyo...
[7 replies] Last: Thank you everyone for your help so far. I have managed to ask a few ... (by raduq)
MergeSort Implementation
 
Hello, I implemented merge sort using C for an array of size 5000. The second dimension of the ray is just extra data that gets moved along with with first ...
[no replies]
by Romop5
Return of char function
 
Hi guys, i have problem. For example, i have char function like this: char ShowName() { char text ; text = "Hi all"; return *text; } Ok, what is the ...
[5 replies] Last: Actually, you are trying to work with cstrings in your first example, ... (by hanst99)
March 2011 Pages: 1... 2728293031
  Archived months: [feb2011] [apr2011]

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