Search:

Type: Posts; User: ChrisE

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,324

    string.h functions help plz :)

    hi.

    i'm currently trying to make an XOR encryption program with a slight twist, but the string.h functions are intent on preventing me from completing it.

    I'm using Dev C++ cos i got it free...
  2. Replies
    6
    Views
    1,220

    i was under the impression that an array had to...

    i was under the impression that an array had to have a fixed size at compile time. could you give me an example of how to allow an array size to be user defined, as

    type ArrayName[x] doesn't...
  3. Replies
    6
    Views
    1,220

    question about array's

    is it better to have an array on the stack or the heap? and why are the reasons for whatever answer you may give. thanks a lot :)
  4. Thread: Procedures

    by ChrisE
    Replies
    4
    Views
    1,202

    woops, sorry, was in a rush etc

    woops, sorry, was in a rush etc
  5. Thread: Procedures

    by ChrisE
    Replies
    4
    Views
    1,202

    i don't know if this is what you mean, and i've...

    i don't know if this is what you mean, and i've forgotten almost all of pascal, but:

    pascal:



    procedure Name1 // creates procedure 1
    begin
    <<code>> // procedure 1 code
    end;
  6. Thread: urgent :((

    by ChrisE
    Replies
    4
    Views
    1,453

    #include #include //allows...

    #include <iostream>
    #include <stdio.h> //allows use of gets();

    int main ()

    {
    char type [50];
    int a, b, c,d;

    cout<<"Hello! What is your name?\n";
  7. Thread: 3D or 4D arrays

    by ChrisE
    Replies
    3
    Views
    6,392

    think of arrays like this: square paper, where...

    think of arrays like this:

    square paper, where you can write only one character in each square. a strip of square paper with 10 squares, but only 1 square thick would be a 1d array.

    e.g

    char...
  8. Replies
    3
    Views
    1,813

    you could use a structure to organise the user...

    you could use a structure to organise the user information i.e:

    struct sAccountData
    {
    long int AccountNo;
    char CustName[40];
    float Balance;
    };

    then using file i/o you would get...
Results 1 to 8 of 8