Forum: C++ Apr 12th, 2007 |
| Replies: 2 Views: 1,759 Hi , im trying to create a simple code that generate random numbers
Im having two problem ,
1. For some reason randomize() function does not work on VisualC++6
2. I didnt really got the idea on... |
Forum: C Apr 7th, 2007 |
| Replies: 4 Views: 957 Thanks for the help guys ! |
Forum: C Apr 7th, 2007 |
| Replies: 4 Views: 957 can you please post a code example ? |
Forum: C Apr 7th, 2007 |
| Replies: 2 Views: 860 Well im trying to find a string in a textfile but i have some problems :
When im trying to create a string called temp in the Compare function using the length of the string that was typed in to... |
Forum: C Apr 7th, 2007 |
| Replies: 4 Views: 957 Im trying to read some integers values from a text file.
The problem is that first lines of the text files contains some text and only then theres the values that i want to read into variables , and... |
Forum: C++ Mar 26th, 2007 |
| Replies: 4 Views: 2,013 Thank it works , but way i cant use the other conio.h commands like clrscr() ? |
Forum: C++ Mar 26th, 2007 |
| Replies: 4 Views: 2,013 Hi guys,
when ive used Turbo c compiler and i wanted to put the program
ona "wait key" status until the user hit sum key , ive used getch(); .
when i try to use this command in Visual C++ 6.0 im... |
Forum: C Mar 25th, 2007 |
| Replies: 1 Views: 641 Hi , is there a way to download filess from the internet using c ? |
Forum: C Mar 18th, 2007 |
| Replies: 8 Views: 4,623 ive just saw your post Ancient Dragon (http://www.daniweb.com/techtalkforums/member.php?u=46588) , but i already did it . so thanks anyway ...
Big thanks for all of you guys !! |
Forum: C Mar 18th, 2007 |
| Replies: 8 Views: 4,623 Finally ive solved it , thanks for the realloc . its just that if i resize the array to array[n-1] the last number is beeing deleted , so what i did is pushing the number that the user wishes to... |
Forum: C Mar 18th, 2007 |
| Replies: 8 Views: 4,623 well i thought i should create a new array cause i have no idea how i can remove a number from the array using realloc ... |
Forum: C Mar 18th, 2007 |
| Replies: 8 Views: 4,623 |
Forum: C Mar 17th, 2007 |
| Replies: 8 Views: 4,623 I dont get it , what do you mean by "diffrent variables to keep track of the indexes" ?
can you give me an example ?
thanks. |
Forum: C Mar 17th, 2007 |
| Replies: 8 Views: 4,623 Hi , im trying to create a program that could delete number from an array and resize the array to the correct size .
Array[0] = 32
Array[1] = 30
Array[2] = 40
Array[3] = 31
Array[4] = 61
... |
Forum: C Mar 15th, 2007 |
| Replies: 2 Views: 2,121 Hi, im trying to create a program that will control a dynamic array .
The program have few functions to handle dynamic array.
* Add number to array
* Erase number from array
* Print the array... |
Forum: C Mar 4th, 2007 |
| Replies: 6 Views: 1,231 Finally i got it.
btw; the characters should be in a random order and i only need the use of one counter;
#include <stdio.h>
void Compact(char *source,char *dest);
int main(void)
{
char... |
Forum: C Mar 4th, 2007 |
| Replies: 6 Views: 1,231 the thing is that i got to use pointers , does any1 know why my code is not working ?
well ive done some edites to the code but still nothing.
#include <stdio.h>
void compact(char *source, char... |
Forum: C Mar 4th, 2007 |
| Replies: 6 Views: 1,231 I need to create a function the gets a source string pointer and a destination string pointer , so if the source string will contain -
"aaaabbbbbbcccdd"
the function will return a destination... |
Forum: C Mar 4th, 2007 |
| Replies: 9 Views: 1,332 got it , and ive fixed the problem , thanks Narue , and thanks to every1 who tried to help .. |
Forum: C Mar 3rd, 2007 |
| Replies: 9 Views: 1,332 Thanks but i think i got it with out the example ,
This is what ive tried to create ...
ive tried it a couple of times and its seems to work , what do you think
guys ?
#include <stdio.h>
int... |
Forum: C Mar 3rd, 2007 |
| Replies: 9 Views: 1,332 |
Forum: C Mar 3rd, 2007 |
| Replies: 16 Views: 5,489 Im using Turbo C / Visual C++ 6.0 and my OS is windows 2000 |
Forum: C Mar 3rd, 2007 |
| Replies: 16 Views: 5,489 yeah i know , how can i draw a box using graphics library , and what library should i use |
Forum: C Mar 2nd, 2007 |
| Replies: 16 Views: 5,489 im looking for a way to create a box with pixels . |
Forum: C Mar 2nd, 2007 |
| Replies: 9 Views: 1,332 Im trying to write my own function that does this with array pointers so there is no point to use an existing function . |
Forum: C Mar 1st, 2007 |
| Replies: 9 Views: 1,332 Hi, im trying to create a function that gets two strings , the first string its the source , and the seconed is an understring .
the function should return an int with the value of the position that... |
Forum: C Mar 1st, 2007 |
| Replies: 16 Views: 5,489 |
Forum: C Mar 1st, 2007 |
| Replies: 16 Views: 5,489 Is there a function that draw 2d objects like boxes and circles .
I remember that in qbasic there was a few 2dobjects functions so i thought that there is a chance c will have some too.
Thanks . |
Forum: C++ Feb 22nd, 2007 |
| Replies: 3 Views: 9,195 Thanks guys , you were totally helpful . |
Forum: C++ Feb 20th, 2007 |
| Replies: 3 Views: 9,195 hi , im pretty new to computer science and alose to this community . i have a problem that im trying to solve and hope you guys can help me with it . im trying to create my own version of the... |