Thanks very much Mats :O)
Type: Posts; User: Mona777
Thanks very much Mats :O)
Hi All,
I sent a friend of mine an executable file of my program to run on his PC but he couldn't. Is there a dll file that he needs to run it , and if so which one? He doesn't have visual studio....
Thanks ever so much for your time :O)
Thank you very very much. I added std::string but it crashed again however I allocated char array and it worked.
If I may ask you another question: Why is the memory read only with char...
sorry it has some glut and openGL stuff too :O)
#include <windows.h>
#include <gl\glut.h>
#include <gl\gl.h>
#include <stdio.h>
#include <stdlib.h>
Thank you.
I just did that, changed <string.h> to <string> and also changed void main to int main.
Now it lets me input a name but when I press return it craches :O)
Thank you for your message.
I just wrote your suggestion stdin.getline instead of getline but got this message:
error C2228: left of '.getline' must have class/struct/union
then I tried
using...
Hi,
I have a little problem. I'm trying to read a character string from the keyboard. So I have put:
#include <iostream>
#include <string.h>
using namespace std;
void main(int argc,...