Search:

Type: Posts; User: bgavran3

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    1,557

    Oh it works now!! Many thanks!

    Oh it works now!!
    Many thanks!
  2. Replies
    12
    Views
    1,557

    Still doesn't work, I'm getting this as a result:...

    Still doesn't work, I'm getting this as a result:


    asdf
    a
    s
    d
    f

    But I have to press Enter every time for each character to appear, so its like this:
  3. Replies
    12
    Views
    1,557

    I think I understand but my code still isn't...

    I think I understand but my code still isn't working...


    #include <stdafx.h>
    #include <iostream>
    #include <string>

    using namespace std;

    int main()
  4. Replies
    12
    Views
    1,557

    Okay, I've replaced the line but this is the...

    Okay, I've replaced the line but this is the error I'm getting:
    error C3861: 'getline': identifier not found

    And what is the difference between getline and cin.getline? Is there any?
  5. Replies
    12
    Views
    1,557

    I'm trying to read one line user types in,...

    I'm trying to read one line user types in, whether its one character, or a whole sentence and then print out that character/sentence and make the cursor go to a new line, wait untill user types...
  6. Replies
    12
    Views
    1,557

    I dont think I understand, it should be outside...

    I dont think I understand, it should be outside of the loop? But then the cursor wont go to a new line every time program prints what the user has typed?
  7. Replies
    12
    Views
    1,557

    Problem with arrays

    Using the code below, I tried to make the program get what user types in, then prints the text he typed in, gets what user typed in, prints the text he typed, gets what user typed in, prints the...
  8. Replies
    18
    Views
    2,328

    Well sorry but I am still learning... and Elysia...

    Well sorry but I am still learning... and Elysia I thought it is possible by using only structrues, strings and some IF commands but it seems its not, so I guess I'll just have to move on to some...
  9. Replies
    18
    Views
    2,328

    Oh, I think I understand it now, thanks! Not the...

    Oh, I think I understand it now, thanks!
    Not the looping tho, but I'm going to give it some more thought, hopefully I will.


    I want to check is the input equal to one of those words, "hi" and...
  10. Replies
    18
    Views
    2,328

    No, I meant, in this tutorial section:...

    No, I meant, in this tutorial section: http://www.cprogramming.com/tutorial/
    Tutorial by tutorial, I've got to the File I/O part, but to understand vectors I had to go all the way down, to the...
  11. Replies
    18
    Views
    2,328

    Thanks that worked but now I'm getting those...

    Thanks that worked but now I'm getting those errors:


    error: invalid conversion from 'char' to 'const char*'
    error: initalizing argument 2 of 'char* strcat(char*, const char*)'


    And can...
  12. Replies
    18
    Views
    2,328

    Thanks, but I dont really understand that code,...

    Thanks, but I dont really understand that code, I've skipped like 20 tutorials, I went to the vector one but I still dont understand this part:


    bool bFound = false;
    for (int i = 0; i <...
  13. Replies
    18
    Views
    2,328

    How to check if A==B or C or D or E...

    Hello, I'd first like to introduce myself to these forums as I will most likely spend lots of time here in the future. I'm Bruno Gavranovic, aka bgavran3, I'm 14 years old and I'm pretty familiar...
Results 1 to 13 of 13