Search:

Type: Posts; User: codeprada

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Linked List

    by codeprada
    Replies
    22
    Views
    2,444

    lol oh... i'll add something like a cursor, a...

    lol oh... i'll add something like a cursor, a next() and previous() function....maybe
  2. Thread: Linked List

    by codeprada
    Replies
    22
    Views
    2,444

    what's so bad about templates?

    what's so bad about templates?
  3. Thread: Linked List

    by codeprada
    Replies
    22
    Views
    2,444

    Linked List

    was bored at work so i decided to implement a linked list. tell me what u think....all criticism is welcomed. i'm here to learn :) it does not have every single method. (wasn't that bored). oh and i...
  4. Replies
    6
    Views
    2,227

    i assume u meant && :P

    i assume u meant && :P
  5. Data Structures are simply structures struct...

    Data Structures are simply structures

    struct r{
    int a;
    char b;
    } rstruct;

    Data Objects
  6. Replies
    6
    Views
    2,227

    i couldn't follow the logics of your program. you...

    i couldn't follow the logics of your program. you basically had a for loop that iterated through a char array and upon each iteration you sent the char array to checkupper that still iterated through...
  7. Replies
    17
    Views
    2,926

    check out CreateProcess Function (Windows)...

    check out CreateProcess Function (Windows)

    this is just the code to open a new process (which is your exe). to close it using it's process handle it must first be able to accept and trigger...
  8. Replies
    5
    Views
    1,345

    why does it have to be one string? you can pass...

    why does it have to be one string? you can pass multiple parameters to a strings via the command line.

    ABC++ - Lesson 11 - Command Lines
  9. Replies
    17
    Views
    2,926

    what errors are you getting? before posting again...

    what errors are you getting? before posting again check whether you have the same resource file from your other project in this project. you'll need the resource file as it stores all your ID's,...
  10. Replies
    3
    Views
    6,814

    have a call to the ignore function before your...

    have a call to the ignore function before your getline so that the '\n' from the previous line won't be parsed by the getline function causing it to read nothing and thus throwing off your data >>...
  11. Replies
    2
    Views
    1,011

    your class Tweet should look something like this...

    your class Tweet should look something like this



    class Tweet
    {
    public:
    Tweet();
    Tweet(string subject, string message);//constructor
    string Tpend(string subject, string...
  12. Thread: C++ Help

    by codeprada
    Replies
    9
    Views
    1,063

    to keep track of the differences you can make an...

    to keep track of the differences you can make an array with size [n - 1] with n being the amount of numbers being tested. so when you calculate 8 - 5, 3 will be the value of the first index and so on...
  13. Replies
    2
    Views
    2,707

    read the user input as a char array or string and...

    read the user input as a char array or string and run a loop through it. the first char in the array or string will be set as your min and max then as you iterate through the loop use conditional...
  14. Thread: Coding help.

    by codeprada
    Replies
    4
    Views
    839

    fairly simple...break it up into parts. like for...

    fairly simple...break it up into parts. like for instance code the parenthesis first then move outwards till you've finished it.
  15. Replies
    4
    Views
    1,201

    ^ this #include #include...

    ^ this


    #include <iostream>
    #include <string.h> //Codeblocks needs this

    using namespace std;

    int main(int argc, char * argv[])
    {
  16. Replies
    12
    Views
    1,173

    arrarys! learn live love em since it's just 5...

    arrarys! learn live love em

    since it's just 5 numbers you were testing i kinda cheated xD. what i did was declare an array for 5 integers and made the do while loop execute 5 times. (x < 5). it...
  17. other than writing it out manually which a switch...

    other than writing it out manually which a switch statement the only other thing that comes to mind are maps



    #include <map>
    ...
    ...

    int main()
    {
  18. Replies
    15
    Views
    1,813

    @phantomotap i coded, inherited and abstracted...

    @phantomotap

    i coded, inherited and abstracted what i did for a reason. 2 ways because (*abc). and abc-> are the same thing.


    (*abc).C::B::print2();

    (*abc).B::print2();
    ...
  19. Replies
    15
    Views
    1,813

    -__- it defeats the purpose of the whole...

    -__-

    it defeats the purpose of the whole thread. note the heading says classes. use a class to output the right string.

    i didn't think i had to specify that
  20. Replies
    15
    Views
    1,813

    i meant the string in here: delete ((std::cout...

    i meant the string in here:

    delete ((std::cout << "CORRECT OUTPUT"), abc);

    if u have nothing proper to say then don't post please.
  21. Replies
    15
    Views
    1,813

    congratz u saw through all the mumbo jumbo i...

    congratz u saw through all the mumbo jumbo i placed in there =D.
  22. Replies
    15
    Views
    1,813

    umm dude... no one codes like this OBVIOUSLY...

    umm dude... no one codes like this OBVIOUSLY that's why is a FREAKING CHALLENGE to get your ass thinking. i deliberately made it that way so if you don't know what you're doing then you're screwed...
  23. Replies
    15
    Views
    1,813

    i'm sorry but that doesn't count. why? delete...

    i'm sorry but that doesn't count. why?

    delete ((std::cout << "I CAN OUTPUT ANYTHING I WANT"), abc);

    just by changing the string it doesn't work anymore. it's just another way of writing to the...
  24. Replies
    15
    Views
    1,813

    CHALLENGE: Classes =P

    Was burning time at work so might as well code something. Below are 4 classes. Each class has functions that print either a positive output or a negative output.

    This is mostly for the...
  25. Replies
    6
    Views
    1,305

    what he meant was store the passwords in a string...

    what he meant was store the passwords in a string array .
Results 1 to 25 of 69
Page 1 of 3 1 2 3