Click here to Skip to main content
15,921,959 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Progress Bar and Threading Pin
73Zeppelin26-Jan-07 9:23
73Zeppelin26-Jan-07 9:23 
AnswerIn your long running class Pin
Ennis Ray Lynch, Jr.26-Jan-07 10:38
Ennis Ray Lynch, Jr.26-Jan-07 10:38 
QuestionProblem With lParam Pin
nash00125-Jan-07 2:03
nash00125-Jan-07 2:03 
QuestionRe: Problem With lParam Pin
prasad_som25-Jan-07 2:10
prasad_som25-Jan-07 2:10 
QuestionRe: Problem With lParam Pin
Mark Salsbery27-Jan-07 11:00
Mark Salsbery27-Jan-07 11:00 
QuestionRe: Problem With lParam Pin
nash00128-Jan-07 19:38
nash00128-Jan-07 19:38 
AnswerRe: Problem With lParam Pin
Mark Salsbery29-Jan-07 6:43
Mark Salsbery29-Jan-07 6:43 
QuestionFunction help Pin
dellthinker24-Jan-07 12:49
dellthinker24-Jan-07 12:49 
Hi all, im trying to create a function that reads a file. The idea of this is to enter a specific file you'd like to have the program read and list the contents of the file. But if you enter the wrong information the else function will tell you that its a wrong entry.

Here's what i have so far:

<br />
#include <fstream><br />
using namespace std;<br />
<br />
int main(){<br />
	char file[]="file.txt";<br />
	printf("Enter a file you would like to read: ");<br />
	scanf("%s", file);<br />
	if(strcmp(file, "file.txt")){<br />
	printf("Reading contents of file: %s\n",file);<br />
	}<br />
	else{<br />
		printf("That is not a valid file.\n");<br />
	}<br />
<br />
	system("pause");<br />
<br />
	return 0;<br />
}<br />


It doesnt do what it looks like. and im dying to know what i did wrong. Any suggestions? Thanx in advance!
AnswerRe: Function help Pin
prasad_som24-Jan-07 20:27
prasad_som24-Jan-07 20:27 
Questionwhere to get about open gl in c++(urgent) Pin
makaveli_0724-Jan-07 0:22
makaveli_0724-Jan-07 0:22 
AnswerRe: where to get about open gl in c++(urgent) Pin
Christian Graus24-Jan-07 9:57
protectorChristian Graus24-Jan-07 9:57 
QuestionHeap corruption when using /clr Pin
Ralph A. Moritz23-Jan-07 22:19
Ralph A. Moritz23-Jan-07 22:19 
AnswerRe: Heap corruption when using /clr Pin
Nish Nishant24-Jan-07 2:15
sitebuilderNish Nishant24-Jan-07 2:15 
GeneralRe: Heap corruption when using /clr Pin
Ralph A. Moritz26-Jan-07 2:27
Ralph A. Moritz26-Jan-07 2:27 
Questionstatic T* arrays are illegal inside managed types?? Pin
Ralph A. Moritz23-Jan-07 1:20
Ralph A. Moritz23-Jan-07 1:20 
AnswerRe: static T* arrays are illegal inside managed types?? Pin
Nish Nishant23-Jan-07 4:53
sitebuilderNish Nishant23-Jan-07 4:53 
GeneralRe: static T* arrays are illegal inside managed types?? Pin
Ralph A. Moritz23-Jan-07 18:41
Ralph A. Moritz23-Jan-07 18:41 
QuestionEasy Fatal Problem Pin
ytubis22-Jan-07 22:13
ytubis22-Jan-07 22:13 
AnswerRe: Easy Fatal Problem Pin
Christian Graus22-Jan-07 22:32
protectorChristian Graus22-Jan-07 22:32 
GeneralRe: Easy Fatal Problem Pin
toxcct22-Jan-07 23:46
toxcct22-Jan-07 23:46 
GeneralRe: Easy Fatal Problem Pin
bsaksida23-Jan-07 11:02
bsaksida23-Jan-07 11:02 
GeneralRe: Easy Fatal Problem Pin
toxcct23-Jan-07 11:06
toxcct23-Jan-07 11:06 
GeneralRe: Easy Fatal Problem Pin
Mark Salsbery27-Jan-07 11:08
Mark Salsbery27-Jan-07 11:08 
QuestionHow to instantiate a VB.NET class? Pin
Ralph A. Moritz21-Jan-07 23:44
Ralph A. Moritz21-Jan-07 23:44 
AnswerRe: How to instantiate a VB.NET class? Pin
Christian Graus21-Jan-07 23:55
protectorChristian Graus21-Jan-07 23:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.