User Profile

Collapse

Profile Sidebar

Collapse
Nyx18
Nyx18
Last Activity: Mar 24 '08, 01:50 AM
Joined: Feb 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Nyx18
    started a topic how to concat 2 strings without using strcat?
    in C

    how to concat 2 strings without using strcat?

    does anyone know how to concat 2 strings then print them out without using strcat or printf but with using pointers?
    See more | Go to post

  • Nyx18
    started a topic confusing errors!
    in C

    confusing errors!

    ok so i got my class to work now im having confusing errors with this:
    Code:
    void sort(Student stu[], int parameter, int count)
    {
       Student temp;
    	
       bool finished = false;
       while (!finished)
       {
          finished = true;
          for (int i = 0; i< count-1; i++)
          {
    [79]       if(Student[i].compareTo(Student[i+1], parameter) == true)
    [80]       {
    ...
    See more | Go to post

  • *i meant just 2 different ways of reading in the file (arrays, array of structs) not sorting.(i just use bubble)...
    See more | Go to post

    Leave a comment:


  • im asking for help. for some reason i cant access the file twice using 2 different methods of sorting. i've tried closing and reopening the file and resetting the pointer 0 but that doenst seem to work....
    See more | Go to post

    Leave a comment:


  • Nyx18
    started a topic cant read in arrays and structs at the same time??
    in C

    cant read in arrays and structs at the same time??

    what im trying to do is read in a data from a file into 4 different arrays then also read in the same data using array of structs. the assignment is to show that we know how to use both methods of reading in and sorting the data. i have 3 function for the arrays (for reading in the arrays, sorting the arrays, then printing) and same for the struct. but when i go to call the array funtions they work but the struct function wont. if i comment out all...
    See more | Go to post
No activity results to display
Show More
Working...