User Profile

Collapse

Profile Sidebar

Collapse
123scope
123scope
Last Activity: May 20 '10, 12:03 AM
Joined: Mar 12 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 123scope
    replied to spliting string.
    in C
    here is my code, can you find any mistakes please??? I cannot chop from the second word.

    OUTPUT
    Input: hello there

    hello there
    hello there
    hello there
    hello there
    h
    e
    l
    l
    o

    t
    h
    e
    r
    e


    h e l l o => first string
    Segmentation fault (core dumped)

    =============== =============== =====...
    See more | Go to post

    Leave a comment:


  • 123scope
    started a topic spliting string.
    in C

    spliting string.

    Hi readers, I have got a string
    a[ ] = {Name surname ...... };

    I want to split the string into 2 the first string will contain the Name and the
    second string will contain the rest after the surname, can anyone please
    suggest how to do this.

    thx
    See more | Go to post

  • 123scope
    replied to String searching algorithms in C
    in C
    well, my strings will be stored in a 2d array.
    the ROWS represent the lines of text inputed or read by a file pointer and most of my strings will be stored in WORDS.

    does this make it easier to search matching strings.

    str[ROWS][WORDS]
    See more | Go to post

    Leave a comment:


  • 123scope
    started a topic String searching algorithms in C
    in C

    String searching algorithms in C

    Can anyone give me insights on how to use a fast algorithm which can search an entire array of strings and print out the exactly matched words which matched with the input.
    See more | Go to post

  • 123scope
    replied to Windows installation error
    yes, I have done this with two different DVD's. I also tried this on another computer. The installation just exits after saying kdcom.dll is either missing or corrupted
    See more | Go to post

    Leave a comment:


  • 123scope
    started a topic Windows installation error

    Windows installation error

    Hi i am currently trying to cleanly install windows operating system in by computer by booting, but, during the startup of the installation, it says, kdcom.dll is either missing or corrupted. I checked my windows files, but the kdcom debugger is not missing.

    Does anyone have any insights in solving this problem.
    See more | Go to post

  • 123scope
    replied to How to sort a table of arrays
    in C
    yes I have all ready tried the same sort of swap with array2 but, somehow it prints the first element for all the elements for array1.
    eg:

    array1[]= 1, 3, 4, 5, 5, 7, 7, 8
    array2[]= 56, 56, 56, 56, 56, 56, 56, 56

    and the compiler complains invalid operands for the struct data function.
    See more | Go to post

    Leave a comment:


  • 123scope
    replied to How to sort a table of arrays
    in C
    awesome thanks
    See more | Go to post

    Leave a comment:


  • 123scope
    started a topic How to sort a table of arrays
    in C

    How to sort a table of arrays

    Hi readers, I can sort a single array, using the bubble sort method, but I can't sort, the elements of another array.

    eg
    array1[]={4, 3, 7, 5, 1, 5, 8, 7}
    array2[]=[23, 67, 98, 56, 56, 67, 77, 78]

    If i sort array1[] i get

    my array1 = 1, 3, 4, 5, 5, 7, 7, 8
    but my
    array2 = 23, 67, 98, 56, 56, 67, 77, 78

    how do i swap the elements of array2 so it prints corresponding...
    See more | Go to post

  • 123scope
    replied to How to format output to look like barcode
    in C
    ok i did it on paper, but i think i have a problem typing the right commands.
    and buy the way i can use long integer to input and processes longer numbers.
    i prefer to use basic operators while writing this program, cant use string, arrays or functions.
    See more | Go to post

    Leave a comment:


  • 123scope
    replied to How to format output to look like barcode
    in C
    i am talking about doing this in C complier. i cant use any strings etc. its just integers.
    See more | Go to post

    Leave a comment:


  • 123scope
    started a topic How to format output to look like barcode
    in C

    How to format output to look like barcode

    hey readers, can you please tell me how to write a c program which looks something like this.

    ./task.c
    part 1Enter barcode (input): 9300605048577

    part 2 prints:- Barcode is 930-060504-857-7

    i know how to do part 1 but i need help with part 2. how can i make the inputed barcode print like shown above in part 2.
    thx
    See more | Go to post
No activity results to display
Show More
Working...