Click here to Skip to main content
15,921,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to use this code ?? Pin
Tim Craig20-Dec-09 17:11
Tim Craig20-Dec-09 17:11 
Questionplese help me these error !! Pin
a04.lqd19-Dec-09 5:15
a04.lqd19-Dec-09 5:15 
AnswerRe: plese help me these error !! Pin
loyal ginger19-Dec-09 5:37
loyal ginger19-Dec-09 5:37 
Questionmay i have openGL version 1.1 or higher ??? Pin
a04.lqd19-Dec-09 4:51
a04.lqd19-Dec-09 4:51 
AnswerRe: may i have openGL version 1.1 or higher ??? Pin
CPallini19-Dec-09 4:56
mveCPallini19-Dec-09 4:56 
AnswerRe: may i have openGL version 1.1 or higher ??? Pin
Chris Losinger19-Dec-09 4:56
professionalChris Losinger19-Dec-09 4:56 
GeneralRe: may i have openGL version 1.1 or higher ??? Pin
Tim Craig19-Dec-09 9:23
Tim Craig19-Dec-09 9:23 
QuestionC to SQL Connentivity Pin
DarkSorrow3819-Dec-09 2:56
DarkSorrow3819-Dec-09 2:56 
I have written a C program to insert a row in SQL Server 2000 but it seems not to work.
#include<stdio.h>
#include<conio.h>

int main(void)
{
	int number;
	char fname[80], lname[80];
	clrscr();
	printf("Enter a number : ");
	scanf("%d",&number);
	printf("Enter your first name : ");
	scanf("%s",fname);
	printf("Enter your last name  : ");
	scanf("%s",lname);
	execl sql include sqlca;
	execl sql insert into Table1  
             values(number,",'",fname,"','",lname,"'");
	getch();
	return 0;
}

AnswerRe: C to SQL Connentivity Pin
Richard MacCutchan19-Dec-09 3:06
mveRichard MacCutchan19-Dec-09 3:06 
GeneralRe: C to SQL Connentivity Pin
DarkSorrow3819-Dec-09 3:59
DarkSorrow3819-Dec-09 3:59 
GeneralRe: C to SQL Connentivity Pin
Richard MacCutchan19-Dec-09 4:06
mveRichard MacCutchan19-Dec-09 4:06 
AnswerRe: C to SQL Connentivity Pin
DarkSorrow3819-Dec-09 4:44
DarkSorrow3819-Dec-09 4:44 
GeneralRe: C to SQL Connentivity Pin
harold aptroot19-Dec-09 6:26
harold aptroot19-Dec-09 6:26 
GeneralRe: C to SQL Connentivity Pin
Richard MacCutchan19-Dec-09 7:20
mveRichard MacCutchan19-Dec-09 7:20 
AnswerRe: C to SQL Connentivity Pin
David Crow20-Dec-09 17:56
David Crow20-Dec-09 17:56 
QuestionSmall Clarification Pin
Joe Rozario19-Dec-09 1:38
Joe Rozario19-Dec-09 1:38 
AnswerRe: Small Clarification Pin
Richard MacCutchan19-Dec-09 3:04
mveRichard MacCutchan19-Dec-09 3:04 
AnswerRe: Small Clarification [modified] Pin
CPallini19-Dec-09 3:07
mveCPallini19-Dec-09 3:07 
QuestionMultithreading and GUID Pin
Rane19-Dec-09 0:06
Rane19-Dec-09 0:06 
QuestionRe: Multithreading and GUID Pin
CPallini19-Dec-09 0:10
mveCPallini19-Dec-09 0:10 
AnswerRe: Multithreading and GUID Pin
Rajesh R Subramanian19-Dec-09 0:16
professionalRajesh R Subramanian19-Dec-09 0:16 
QuestionMake a copy of a CDocument Pin
Darryl Bryk18-Dec-09 12:33
Darryl Bryk18-Dec-09 12:33 
AnswerRe: Make a copy of a CDocument Pin
Richard MacCutchan19-Dec-09 3:52
mveRichard MacCutchan19-Dec-09 3:52 
GeneralRe: Make a copy of a CDocument Pin
Darryl Bryk22-Dec-09 12:01
Darryl Bryk22-Dec-09 12:01 
GeneralRe: Make a copy of a CDocument Pin
Richard MacCutchan23-Dec-09 0:03
mveRichard MacCutchan23-Dec-09 0:03 

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.