No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Can you be a bit more specific on what it is that you are having difficulty in understanding?
[CODE]// reading a text file #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line;// define a string for the line buffer ifstream myfile ("example.txt"); if (myfile.is_open())// Check if the file is open { while ( myfile.good() )//Check if the state of the stream is …
Hello I want to create a web plugin to demonstrate some inverse kinematics algorithms on a basic 3D model on a web browser. I am using OpenGL API and my code is written in C++. I am really new to plugins and I have no clue where to start looking. …
I have a quick question. I use getline to read from a file and put the line in a string s I call cout<<s and the output is this: "HELLO, PLEASE \n "ENTER" A NUMBER \n" why are the \n ignored and treated as strings? thanks
Hi I have a question regarding runtime polymorphism. I have for example [CODE]derived A; base *B;[/CODE] and I do this [CODE]B=&A;[/CODE] if A goes out of scope does this mean the pointer B is a bad pointer meaning it does not point to anywhere? If so, does this mean I …
The End.
Neon87