
please wait
by blackjackk
Problem with setjmp(probably). please help
|
I have a problem with my project. It should run some processes simultaneously, using interrupts, but i get throw out of borland c after the first part of every... |
May 19, 2011 at 8:22pm
[no replies]
|
by tbuell
where to start
|
i am just entering the world of programming. i looked at the hello world program to make it, and my first thought was word, notepad, or wordpad. i put my progra... |
May 19, 2011 at 6:09pm
[3 replies] Last: You can create source files in a text editor, but you must then get a ... (by anonymous23323124)
|
by BananaCode
Question about quicksort (1,2)
|
Hello, So my next algorithm is QuickSort which I'm trying to implement. Here is the code: #include <iostream> #include <time.h> using namespace std; void ... |
May 19, 2011 at 5:22pm
[23 replies] Last: You can get a value at random between left and right (inclusive) with ... (by closed account D80DSL3A)
|
by hira aftab
curcor movement
|
can any one guide m in a program in which we take two dimensional array .pass value of only 1 and 0 to it and on output screen cursor move only on 0 and not on ... |
May 19, 2011 at 5:19pm
[5 replies] Last: actually the code which i made ,when cursor move it delete integer 1 a... (by hira aftab)
|
Difference between "Adaptor" and "Sub-Class" |
I'm currently reading about adaptors (example. stack, queue, deque). My question: A deque, for example, is an adaption of a double-linked list. How does this d... |
May 19, 2011 at 12:03pm
[2 replies] Last: True. I forget that object-oriented code is not just about functionali... (by NewProgrammer)
|
by asymptotes14
two dimensional array error
|
this code is working but im having troubles in some part the program will ask for scores in double type and will be stored in an array of double type, that wor... |
May 19, 2011 at 11:33am
[2 replies] Last: coder777 thanks i got it! i wasnt able to notice it, thanks again!!!!! (by asymptotes14)
|
by jaimesharp
Wanting to write a ATM program with classes and either linked lists or arrays
|
Basically I have used codeblocks to generate the functions/classes in my code i know what i want them to do but i cannot figure out how to manipulate the data i... |
May 19, 2011 at 11:12am
[4 replies] Last: I am still trying though i am completly stuck on the basics here #... (by jaimesharp)
|
by BananaCode
Debug assertion failed: _BLOCK_TYPE_IS_VALID(phead->nBlockUse)
|
Hey I currently get following error when I try to run the code: Debug assertion failed: _BLOCK_TYPE_IS_VALID(phead->nBlockUse) int main () { ... |
May 19, 2011 at 11:02am
[7 replies] Last: No, you don't need 2 arrays. Just 1 and it's all done in place (like a... (by coder777)
|
by frolacosta
void and int question
|
While learning C++ i have seen a lot of example codes. But there is something i do not understand. Sometimes int is used to declare a function but other times v... |
May 19, 2011 at 10:45am
[4 replies] Last: void printText(string str) { cout << str << endl; } string text... (by Breadman)
|
by uataneja
Homework help - issues with the code
|
Hiya. I am finishing up my intro to C++ course at college and thus far, I havent had much trouble. However, I cant seem to grasp functions well enough. Th... |
May 19, 2011 at 10:38am
[15 replies] Last: @packetpirate Nobody has mentioned yet that he is putting semicolons ... (by dangrr888)
|
by forpblop
Program help
|
deleted |
May 19, 2011 at 8:45am
[1 reply] : EDIT: deleted (by coder777)
|
by Piroquio
Help with logical question
|
Hello there. I need to build a source code that calculates the total distance from the given distances of a city to another, using Multidimensional arrays. The ... |
May 19, 2011 at 8:25am
[1 reply] : What's the user supposed to enter? The names of the cities? Then you n... (by coder777)
|
Menú para métodos de ordenamiento de números |
He desarrollado este algoritmo en C++. Mi problema es el que deseo retornar al menú principal y no se como ya que al elegir una opción, al termino del ordenam... |
May 19, 2011 at 6:50am
[1 reply] : You just need a loop that repeats forever (or at least until you exit ... (by Athar)
|
by SimpleIce
The rand function
|
Hello, everyone. This is a sample code of my function, which allocate memory for random char array. #include <stdlib.h> #include <time.h> unsigned ch... |
May 19, 2011 at 6:39am
[2 replies] Last: Thanks, Athar. Already, clear up. (by SimpleIce)
|
Function Pointers |
Hi, I'm trying to make a process function for my doubly linked list. I have a fully implemented doubly linked list designed as well as the nodes. I wanted to p... |
May 19, 2011 at 5:37am
[5 replies] Last: cool.. (by writetonsharma)
|
by Sam1970
First time with user defined functions...
|
This is homework, so just looking for some guidance. Program for calculating right-circular cone calculations (global variables are prohibited). I have spent ar... |
May 19, 2011 at 5:08am
[1 reply] : Refer here: http://www.cplusplus.com/doc/tutorial/functions/ and here:... (by matsom)
|
by hersman
Program requiring enter key be pressed before running
|
Whenever I run my program, it starts at a blank screen and I have to press the enter key before it will proceed. I have narrowed it down to the cin.ignore(100,... |
May 19, 2011 at 5:03am
[2 replies] Last: Try moving that cin.ignore(100, '\n'); command to follow line 33 in ... (by closed account D80DSL3A)
|
by Sabre
C++ text based menu
|
Gday all Can someone tell me if there is a better way to make this work? It is on Dev-C++, for windows only. It is working however I am sure there is a better... |
May 19, 2011 at 4:33am
[1 reply] : Is there a better way to do this? (by Sabre)
|
by jimmy5023
how to pass down values?
|
#include<iostream> using namespace std; short unsigned int choice = 0; short unsigned int sss = 0; void breakfast(); void lunch(); void snack(); void dinner(... |
May 19, 2011 at 12:42am
[4 replies] Last: #include<iostream> using namespace std; short unsigned int choice = ... (by m4ster r0shi)
|
by dspain
Comparing Strings
|
i wrote a game and here recently i noticed a flaw in targetting monsters. if the monster is a "Black Dragon" you can target any characters up to the space ... |
May 19, 2011 at 12:26am
[1 reply] : first off use code tags please because it makes it much easier to rea... (by ascii)
|