Results 1 to 11 of 11
  1. #1
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6

    Question Whats wrong??Plz need help!!!!

    Plz guys tell me whats wrong here

    Code:
    #include "stdafx.h"
    #include <iostream>
    using namespace std;
    
    int main()
    {
      string nome = "Felipeb18";
      
      cout << nome;
    
      char c;
      cin >> c;
    }
    Plz need quick answer
    Without this I cant proceed with my learning

  2. The Following User Says Thank You to Felipeb18 For This Useful Post:

    crisitant123 (01-04-2009)

  3. #2
    kevin66062's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    Wiscompton
    Posts
    1,551
    Reputation
    13
    Thanks
    211
    My Mood
    Sleepy
    ]

  4. #3
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by kevin66062 View Post
    what do u mean???

  5. #4
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6
    Plz i need help!!

  6. #5
    crisitant123's Avatar
    Join Date
    Jan 2009
    Posts
    1
    Reputation
    10
    Thanks
    0
    how do i get hack i dont know how can you PLZ TELL ME HOW TO DO IT PLZ PLZ PLZ PLZ PLZplz plz

  7. #6
    hbk's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    My HQ i.e. Trademark Inc., Canada
    Posts
    1,474
    Reputation
    7
    Thanks
    128
    My Mood
    Relaxed
    Quote Originally Posted by Felipeb18 View Post
    Plz guys tell me whats wrong here

    Code:
    #include "stdafx.h"
    #include <iostream>
    using namespace std;
    
    int main()
    {
      string nome = "Felipeb18";
      
      cout << nome;
    
      char c;
      cin >> c;
    }
    Plz need quick answer
    Without this I cant proceed with my learning


    ITS INCLUDE<IOSTREAM.H>
    Fate Rarely Calls Upon Us at a Moment of Our Choosing

    [img]https://i981.photobucke*****m/albums/ae291/hbktminc/untitled2-1-1.jpg[/img]
    Join the HeartBreak ARMY: https://www.mpgh.net/forum/groups/heart_break_army.html



    I'm a Muslim, What are You?
    Trademark Inc.

  8. #7
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6
    I'm using Visual Studio 2005 and iostream.h does not work
    Iostream does

  9. #8
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by crisitant123 View Post
    how do i get hack i dont know how can you PLZ TELL ME HOW TO DO IT PLZ PLZ PLZ PLZ PLZplz plz
    Learn reading sticky!!

  10. #9
    nbr1dan's Avatar
    Join Date
    Mar 2007
    Location
    At my computer
    Posts
    168
    Reputation
    14
    Thanks
    15
    If your just trying to print your name to the console then try it like this.

    [php]#include "stdafx.h"

    int main(int argc, char* argv[])
    {
    printf("Felipeb18");
    return 0;
    }[/php]
    Last edited by nbr1dan; 01-06-2009 at 09:08 PM.

  11. #10
    Felipeb18's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    33
    Reputation
    10
    Thanks
    6
    i know but i want to use strings
    I know the example dont need it but in other cases I would need it

  12. #11
    p4rtysqu4d's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    you need to add
    return 0;

    at the bottom

Similar Threads

  1. What do you need help with?
    By Lolland in forum Visual Basic Programming
    Replies: 22
    Last Post: 11-29-2009, 07:34 PM
  2. What am i doing wrong plz help
    By SethKrieg24 in forum Call of Duty 4 - Modern Warfare (MW) Hacks
    Replies: 4
    Last Post: 02-02-2009, 05:55 PM
  3. Plz i need help fast
    By mikelmao in forum WarRock - International Hacks
    Replies: 9
    Last Post: 07-13-2007, 03:41 AM
  4. need help fast plz
    By momomyst in forum WarRock - International Hacks
    Replies: 2
    Last Post: 05-09-2007, 03:21 PM
  5. NEED HELP plz(Punkbuster)
    By Dj Key in forum WarRock - International Hacks
    Replies: 3
    Last Post: 04-20-2007, 08:25 AM

Tags for this Thread