Search:

Type: Posts; User: hypertension

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,074

    Need ref for some C++ stuff...

    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...
  2. Replies
    2
    Views
    1,384

    Tks dude!!!

    Tks dude!!!
  3. Replies
    2
    Views
    1,384

    Simple Compiling question ...

    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...
  4. Replies
    2
    Views
    1,886

    File I/O with 2D arrays

    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...
  5. Replies
    1
    Views
    1,064

    Solved

    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!
  6. Replies
    1
    Views
    1,064

    Error in execution

    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...
  7. Replies
    3
    Views
    2,158

    Thanks a million! It works perfectly fine now.

    Thanks a million! It works perfectly fine now.
  8. Replies
    3
    Views
    2,158

    oops... by the way, the problem with the 3...

    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...
  9. Replies
    3
    Views
    2,158

    Long file linking problem

    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...
  10. Replies
    3
    Views
    822

    hmmm... i assume for the second part, it...

    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...
  11. Replies
    3
    Views
    822

    pardon me, but what is the difference between...

    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.
  12. Replies
    3
    Views
    822

    Simple Basic Struct Prob.

    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...
Results 1 to 12 of 12