Problem when posting source code
-
Hi,
When I try to add a source code to my post like the following piece of code, It doesn’t work and
[code language="cpp"]
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <sstream>
using namespace std;
struct FileRead{
void readFromFile();
vector<vector<string>> person;
};
[/code]It views the code like that:
https://www.dropbox.com/s/mun1rcgtfqhlzcj/wordpress.png?dl=0
How can I solve this issue?
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem when posting source code’ is closed to new replies.