Search:

Type: Posts; User: atif

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,167

    Random Number Generator

    HI .. i was wandering if i have a program that works out if it is prime or not, how do i generate random numbers for a prime number..

    e.g, i have entered an integer say 2, then i work out if it is...
  2. Replies
    0
    Views
    2,263

    UNIX and C programming

    HI, i have some questions to ask about C and UNIX programming..

    a) If an error/exception arising in one function is to be handled in another function some levels back in the calling sequence,...
  3. Replies
    3
    Views
    1,675

    Interprocess Communication and UNIX???

    hi, can anyone tell me What is the effect of the statement:

    actn.sa_flags = SA_RESTART;

    and what changes would you make to the program to get it to behave in the same way if this statement were...
  4. Thread: java

    by atif
    Replies
    2
    Views
    915

    java

    Hi, is anyone here good at characters and strings using java??

    Atif
  5. Thread: java help

    by atif
    Replies
    2
    Views
    1,364

    java help please?

    hello....is anyone going to help me out here????
    ive been waiting for ages...come on its not like im asking you to write the whole code for me, ive made an attempt myself but i want someone to help...
  6. Replies
    3
    Views
    1,233

    hey quzah, what do you mean p is the only node in...

    hey quzah, what do you mean p is the only node in the list...

    cheers,

    Atif
  7. Replies
    3
    Views
    1,233

    circular linked lists??

    how do you write an implementation for the routine

    void delete_bufr( BUFR *p ){

    which deallocates all storage associated with the buffer pointed to by p and sets p to a NULL value.

    here is...
  8. Replies
    2
    Views
    2,415

    turtle graphics problem??

    hi...
    can someone help me with this codde its a turtle graphics problem which im sure you guys have heard of..

    iam getting one error ........i dont know what iam doing wrong...could you please...
  9. Thread: Casting in C++

    by atif
    Replies
    3
    Views
    1,107

    Hi ? what i meant was i have a 2d array called...

    Hi ?
    what i meant was i have a 2d array called floor[20][20] of type char. and i want to cast it, like this: int ncols = (int) floor[0].length;
    this is in java how do i convert it to C++??
    ...
  10. Thread: Casting in C++

    by atif
    Replies
    3
    Views
    1,107

    Casting in C++

    Hi there??
    How do you convert the following operation from java to C++?


    ncols = (int) floor[0].length;

    where ncols = number of columns and floor is an array declared as: char floor[20[20];
    ...
  11. Thread: C++ help needed?

    by atif
    Replies
    2
    Views
    1,422

    C++ help needed?

    Hi ?
    has anyone heard of the Turtle Graphics program before...
    well i have to write the turtle graphics program in C++ and was wandering if anyone could give me a few links so that i have an idea...
  12. Thread: Structures

    by atif
    Replies
    1
    Views
    845

    Structures

    Hey can anyone help me here please...

    This is a program in c called circbuf.1.c, and i have to draw a diagram for the following data structure fragment which is executed as follows:

    for (k = 0;...
  13. Thread: strings??

    by atif
    Replies
    5
    Views
    1,122

    strings??

    HI can anyone help here.. how do you get rid of a quote character like this "\", inside a string..

    say i read a string in input then i want to escape the backslash character "\" inside a string.....
  14. Thread: functions??

    by atif
    Replies
    4
    Views
    1,064

    functions in C?

    Hi ? does anyone know how to convert this linked list code into a function..say i need to implement a function dumpstring(),each call to dumpstring() will return a pointer to the next string in...
  15. Thread: functions??

    by atif
    Replies
    4
    Views
    1,064

    functions??

    Hi? is anyone good at functions in C programming??

    i need to implement a function say mystring() that will return a pointer to the next string in storage (starting with the first); returning a...
  16. Replies
    8
    Views
    1,724

    Linked Lists in C prog

    Sorry, but i was asking about Linked Lists in C programming not in C++ . So , is there any links to linked lists in C prog.
    specifically to do with strings..

    Thanks
    Atif
  17. Replies
    8
    Views
    1,724

    implementing strings using linked lists??

    HEy prelude,
    thanks for your reply..so you think the best way to solve this problem is to use linked lists...

    could you please... show me how to use linked lists or give me some examples of how i...
  18. Replies
    8
    Views
    1,724

    Hi? can you help me

    Hi Mike how are ya?what do you mean what happened to my original posting??

    would you know how to attempt this sought of problem...
    or can you give me some links, where i can get some ideas of...
  19. Replies
    8
    Views
    1,724

    I need help with implementing strings???

    Hi? I was wandering if any one knows anything about implementing and using strings..
    Basically i have a basic understanding of C programming and would like someone to start the problem for me...
    ...
Results 1 to 19 of 19