QuestionWhats wrong??Plz need help!!!!

Posts 111 of 11 · Page 1 of 1
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
how do i get hack i dont know how can you PLZ TELL ME HOW TO DO IT PLZ PLZ PLZ PLZ PLZplz plz
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!!
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]
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>
I'm using Visual Studio 2005 and iostream.h does not work
Iostream does
i know but i want to use strings
I know the example dont need it but in other cases I would need it
you need to add
return 0;

at the bottom
Posts 111 of 11 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?