Search:

Type: Posts; User: dynamethod

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    23,320

    Yeah sorry im having a hard time trying to...

    Yeah sorry im having a hard time trying to understand some of these concepts, and im under alot of pressure atm, either way im trying to write some code that will take in strings and strip the...
  2. Replies
    6
    Views
    23,320

    Ahh yup sorry, my bad

    Ahh yup sorry, my bad
  3. Replies
    6
    Views
    23,320

    Stringstream problem

    Hey there im having a problem trying to compile my code, i get :


    C:\money.cpp variable `std::stringstream ss' has initializer but incomplete type

    Im not totally sure why, i've tried googling...
  4. Replies
    1
    Views
    1,629

    input validation, kinda

    Hey there,

    i have this following code i'd like some feedback from if possible(comments, critism, tips)

    I'm a newb with C++ and currently trying to grasp the concepts of OOP

    two files,...
  5. Replies
    3
    Views
    1,637

    Ahhh ok i see, thanks for that, the getchar()...

    Ahhh ok i see, thanks for that, the getchar() worked perfectly!
  6. Replies
    3
    Views
    1,637

    scanf problem?

    Hey there, ill start off by saying im quite fresh with C, but im trying

    I'm having a problem with some code here:




    /* Program: Course Project - CD Inventory
    * Version: 1.0
    * Author:...
  7. Replies
    8
    Views
    1,459

    Yes sorry for this, im overlooking some pretty...

    Yes sorry for this, im overlooking some pretty simple errors, I'm really bad at coding on my own, cause usually if im with someone else they'll see something thats really obvious that i cant

    ...
  8. Replies
    8
    Views
    1,459

    Ok heres what i got now, but this bit has me...

    Ok heres what i got now, but this bit has me really stumped :S

    Error: too few arguments to function `void viewDB(DB)'


    #include <cstdlib>
    #include <iostream>

    using namespace std;
  9. Replies
    8
    Views
    1,459

    Ah yup, ive changed it a bit now: #include...

    Ah yup, ive changed it a bit now:


    #include <cstdlib>
    #include <iostream>

    using namespace std;

    struct DB {
    int age;
  10. Replies
    8
    Views
    1,459

    Function problem - too few args

    Hi there, i havent coded for some time now, but ive got back into it and have been trying to code this small application that will store a persons age, name, location:


    #include <cstdlib>...
  11. Replies
    2
    Views
    1,181

    Need feedback on code

    Hi there, just made this little application(but borrowed some code from another classmate) which prints the following:


    5*5*5*5*5
    4*4*4*4
    3*3*3
    2*2
    1

    Here is the code:
  12. Replies
    2
    Views
    706

    omg yes sorry, ive sorted it now, it was in plain...

    omg yes sorry, ive sorted it now, it was in plain site lol, sorry bout this post again :S
  13. Replies
    2
    Views
    706

    I/O question

    Hi there, im currently learning about the <fstream> library

    Basically im to write two programs, one to write to a file(app1), and one to read from the file that was created from the first...
  14. Replies
    4
    Views
    1,020

    solved, yes sorry for this thread, i didnt build...

    solved, yes sorry for this thread, i didnt build the release, only debug -.-, again sorry :S
  15. Replies
    4
    Views
    1,020

    my compiler details: Eclipse Platform ...

    my compiler details:

    Eclipse Platform

    Version: 3.3.1.1
    Build id: M20071023-1652

    (c) Copyright Eclipse contributors and others 2000, 2007. All rights reserved.
    Visit...
  16. Replies
    4
    Views
    1,020

    Array Question

    Hi there, just making a small app using an array, although it compiles and runs in the IDE(eclipse) just how i want it to, when i try run the app in a bash shell i get:


    :~/workspace/Reverse...
  17. Replies
    34
    Views
    9,630

    ok, just edited my code a bit more, i feel even...

    ok, just edited my code a bit more, i feel even more stupid for that last piece of code i posted now lol

    ive done without the char cLetter -


    #include<iostream>
    #include<string>

    using...
  18. Replies
    34
    Views
    9,630

    when i set y in my case to 0, i seem to have a...

    when i set y in my case to 0, i seem to have a gap at the top line of the output like this:



    A
    BB
    CCC
    DDDD
  19. Replies
    34
    Views
    9,630

    Sorry :S, i should pay more attention heres...

    Sorry :S, i should pay more attention

    heres what i have now:


    #include<iostream>
    #include<string>

    using namespace std;
  20. Replies
    34
    Views
    9,630

    if i try the same code without the 'abs': ...

    if i try the same code without the 'abs':


    #include<iostream>
    #include<string>

    using namespace std;

    int main()
    {
  21. Replies
    34
    Views
    9,630

    #include #include using...

    #include<iostream>
    #include<string>

    using namespace std;

    int main()
    {
    int x;
    int y;
    char cLetter;
  22. Replies
    34
    Views
    9,630

    wow, this is quite tricky :S im not sure how...

    wow, this is quite tricky :S

    im not sure how to go about this tbh, hints much appreciated!
  23. Replies
    34
    Views
    9,630

    Awwwww!!! Tesctassa!!!! you just gave me the...

    Awwwww!!! Tesctassa!!!! you just gave me the answer!! your code works perfectly, now i cant try and solve it :S

    Thats very interesting about the ASCII, it will come in handy! but that was tooo...
  24. Replies
    34
    Views
    9,630

    Awesome~! ok getting somewhere, heres my code...

    Awesome~!

    ok getting somewhere, heres my code now:


    #include<iostream>
    #include<string>

    using namespace std;
  25. Replies
    34
    Views
    9,630

    Ok, ive got it sorted a bit better now i think ...

    Ok, ive got it sorted a bit better now i think

    however i think im going the wrong way about this because Daved said that a loop or two should do the trick but the way im going i will need a few...
Results 1 to 25 of 28
Page 1 of 2 1 2