I figure it out, just put *, like this printf ( "%*s", width, name );
Type: Posts; User: dontoo
I figure it out, just put *, like this printf ( "%*s", width, name );
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...
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 =...
That will work, thx
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...
thx, guys
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" ??