Hi,
I have been learning basic C++ mainly dealing in data structures, excl templates.
I am now trying to import pictures or edit text into colour into my output (onscreen) and havent got a clue...
Type: Posts; User: hypertension
Hi,
I have been learning basic C++ mainly dealing in data structures, excl templates.
I am now trying to import pictures or edit text into colour into my output (onscreen) and havent got a clue...
Tks dude!!!
Hi,
I have jus started learning c++ and was wondering if I were to create a classes program with eg.h eg.cpp and prog.cpp, how am I supposed to compile it using visual c++ or boland? I know it's a...
This is a program to read in a file of 2D arrays. I have gotten the code to work (option 1) but whenever I change the input file to 3 by 3, it stops working. Any idea why? Tks
#include...
I should not have executed addMatrix function before finishing the code... Cause alot of problems... lol, took me 3 hours to figure this one out. Tks all!
Hi,
This is an incomplete matrix prog which has problems when executing for option 1. Please kindly help. Tks.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include...
Thanks a million! It works perfectly fine now.
oops...
by the way, the problem with the 3 codes is:
During the execution of program3, there is no output for small.dat and large.dat while names.dat displays perfectly alright.
Thanks...
Good Day,
I have tried all day to get the program to work. I think there's some linking problem somewhere... Please kindly help. Tks in advance.
1) Names are to be initialised into names.dat by...
hmmm...
i assume for the second part, it would be sth like
puts("Please input name");
gets(name1);
strcpy(seat[i].name, name1);
but would still appreciated the ans to the difference...
pardon me, but what is the difference between strcpy and sprintf in this case? And what shall I do if I need the user to input a name to the seat[i].name?
Ps. Tks for the quick reply.
Good Day All,
I'm currently learning C from a book and unfortunately, is stuck rather embarassingly at struct. I tried the seach for structure array but the problems posted were all (hopefully...