Search:

Type: Posts; User: oror84

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    916

    Help with structs.

    Hi,
    I have a problem with sturcts.
    I have something like :

    struct stack1
    {
    int number;
    struct stack1 *next;
    };
  2. Replies
    3
    Views
    1,056

    Problem with variables.

    Hi,
    i have some array of structs.
    the struct have : char job[max]; int number;
    i need to get numbers from the user and get the numbers to the struct with the names w1,w2,w3,etc.
    i dont...
  3. Replies
    6
    Views
    1,691

    Thanks Alot!

    Thanks Alot!
  4. Replies
    6
    Views
    1,691

    Thanks, another one.

    Why not only random=rand()%100;
    working too.
    another question, maby you can help me with this.
    i have a struct like this:


    struct job
    {
    char Name[MAXNAME];
    int Proirity;
  5. Replies
    6
    Views
    1,691

    Problem with random numbers.

    Hi,
    i want to get random number between 1-100.
    i tried with rand(100) and the compiler dont recognize it.
    i added #include <stdlib.h>.
    please help.
    Or.
  6. Replies
    4
    Views
    12,473

    Thank You

    Great, You helped me alot!
    Thank you very much!!
  7. Replies
    4
    Views
    12,473

    Split a string(C)

    hello,
    i have a problem to split a string.
    i have this sentence :
    char str1[100] = "hello this is my sentence and max(a,b) is my method";

    i want to to split the sentence from the max(a,b) to 2...
  8. Replies
    2
    Views
    1,111

    handle character at string(c)

    hi,
    i wanted to know if there is any way to read character`s from string one by one,
    and set it in other string.
    i mean
    i have this string:

    char *get = "hello";

    now i want to get over the...
  9. Replies
    5
    Views
    1,204

    Wow, you so helped me! Thank you very much!!!

    Wow, you so helped me!
    Thank you very much!!!
  10. Replies
    5
    Views
    1,204

    its for writing, and my problem that the file...

    its for writing, and my problem that the file cant open.
    so its not succeeded, thats what i want to know,
    why its not succeeded.
  11. Replies
    5
    Views
    1,204

    problem with open file.

    Hi, i have a problem.
    i have a file that there is a line in the file : #include "hello.h"
    i have to open the "hello.h" file and copy it to another file.
    i did :

    char getline[MAX_LINE];
    char...
  12. Replies
    5
    Views
    1,121

    i thought about this way.

    i tried to find other way..
    Tahnks..
  13. Replies
    5
    Views
    1,121

    This is what i asked to do. i need 6 differents...

    This is what i asked to do.
    i need 6 differents arrays, and make actions on every one of them.
    i just need to know if there is any way to do what i writed before.
    to get to the a array if i got...
  14. Replies
    5
    Views
    1,121

    problem with get to array.

    hi, i have a little problem.
    i have a 6 array`s of char.
    a[],b[],c[],d[],e[],f[].
    i got from the user the string : "union_set A,C,F".
    i insert into :
    char group1 = 'a'
    char group2 = 'c'
    char...
Results 1 to 14 of 14