I have a program that needs to read in an unknown number of characters
for example, the input can be:
---
AC 0
DC 50
START 1
CPU 30
END
START 102
CPU 40
END
---
I will need to do some processing based on that input, but there can any number of 'START's and 'END's
the way my...
declare @table table (i int not NULL, c varchar(100))
insert into @table values ('a','1')
if (@@error <> 0)
print (' caught error.. ')
output ..
Server: Msg 245, Level 16, State 1, Line 3
Syntax error converting the varchar value 'a' to a column of data type int.
As you can see, I try to...
DSN=JEDI.WORLD;ConnectString=KNIGHT.WORLD;UID=test;PWD=test
How can I connect to an SQL server with C++ with that information? I'm not sure of the syntax to use.. any help would be appreciated...
thanks,
I am trying to make a service run in the background when windows starts up. can anyone point me to a good tutorial that will help me write code to do it? I found many easy ways to do it in .NET, but I cannot use .NET for this work assignemnt. Would appreciate any help.
Thanks,
-Sohel
I am trying to find out how I can connect to an SQL server with C++. Can anyone point me to a good tutorial for this? I know how to do it with Oracle, I can use pl/sql. Need to know what to do for SQL Server.
any help would be appreciated
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.