Search:

Type: Posts; User: dontoo

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,052

    I figure it out, just put *, like this printf (...

    I figure it out, just put *, like this printf ( "%*s", width, name );
  2. Replies
    2
    Views
    1,052

    Don't know how to sold this exersise

    Write a program that requests your first name and does the following with it:
    Prints it in a field three characters wider than the name.

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

    int main ( void...
  3. Replies
    3
    Views
    1,606

    file processing - strange behavior

    This code works, opens file "myfile.txt" for reading and writing and writes a-z characters in the file.

    #include <stdio.h>
    #include <stdlib.h>
    int main ( void )
    {
    int c;
    FILE * fp;
    fp =...
  4. Replies
    3
    Views
    1,531

    That will work, thx

    That will work, thx
  5. Replies
    3
    Views
    1,531

    operator overloading

    I overloaded << operator to format output in this fashion
    "(" variable1 ", " variable2 ", " variable3 ")";
    Lets say that my Vector class has another methods and I want to output those methods in...
  6. Replies
    3
    Views
    3,318

    thx, guys

    thx, guys
  7. Replies
    3
    Views
    3,318

    header path & include

    Folder ( directory) hierarchy is like this:

    FolderRoot/FolderX/FolderY/main.c
    FolderRoot/FolderZ/header.h

    How to include (write) header.h into main.c

    #include "../../??????header.h" ??
Results 1 to 7 of 7