Search:

Type: Posts; User: rain_e

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    2,309

    ttt

    ttt
  2. Replies
    14
    Views
    2,309

    well i spoke to soon! same warning message!!!...

    well i spoke to soon! same warning message!!! then when i compile i get a segmenation fault here's my exact code.

    #include <stdio.h>
    #include <string.h>

    int main(void)
    {
    char...
  3. Replies
    14
    Views
    2,309

    thank you SOOOOOOOOOOOO much. thats what i was...

    thank you SOOOOOOOOOOOO much.

    thats what i was looking for! i've been looking for a tutorial on this all day!

    now i can get on with the hard part of the assignment.

    doubly linked lists!!!
  4. Replies
    14
    Views
    2,309

    i've been using the logic you showed but i think...

    i've been using the logic you showed but i think my declarations may be incorrect.

    char input[50]; //read from keyboard


    then when i try to reference this by input[4] i get an error from...
  5. Replies
    14
    Views
    2,309

    ok i think i'm getting a little over my head...

    ok i think i'm getting a little over my head here.

    all i want to do is read the a line of text.

    i need to determine the first character and place it in its own variable. then i have to...
  6. Replies
    14
    Views
    2,309

    if i use input +4 it will print everything from...

    if i use input +4 it will print everything from position 4 and beyond. is it possible to restrict this to only position 4?
  7. Replies
    14
    Views
    2,309

    manipulating strings

    i'm trying to manipulate a sting it think.

    i have read a string with gets(input)

    then i would like to determine what character is in say postion 5?

    i thought this could be done by
    ...
  8. Replies
    2
    Views
    10,099

    Scanning characters & strings

    I'm trying to scan a line. This line will sometimes contain 1 char. or sometimes it will contain 1 char followed by a string.

    printf("\nEnter text now");
    scanf("%c", &char1);
    scanf("%s",...
Results 1 to 8 of 8