Hello I am engineering student.
I hav good programming skills
I know to handle command line arguments
My problem is wat command i should type to compile my C prigram.Previou sly i used Turbo C+= 3.0 IDE which allows to compile by Alt+F9...Dont think its my homework..If u know pls answer else not criticse others without knowing the fact
User Profile
Collapse
-
Commandline Compile and Run of C program
Explain me how to compile and run a C program in commandline(Win dows XP Turbo C++ Version 3.0)
The program must also accept commandline arguments...
Explain with example program to read a number from user at command line and prints number of digits...Please expalin how to compile and run in command line -
In my actual code there is a condition that terminates infinite loop......Leave a comment:
-
Question on recursion
Is this a recursion
Code:main() { fun1(); } fun1() { fun2(); } fun2() { fun1(); } -
Confusion on \n and enter key
see this progrmmmmm
[CODE=c]void main()
{
char ch;
printf("enter the string");
do
{
ch=getchar();
} while(ch!='\n') ;
getch();
}[/CODE]
here that do while loops end when we press the "enter key"
but wht is my question is ascii value of "enter key" is 13..
while asccii of '\n ' is 10
how this possible... -
Read Arrival Time and Burst Time for all Process
Let WaitingTime[0] = 0 and TAT[0]=BurstTime[0]
WaitingTime[i]=TAT[i-1]-ArrivalTime[i]
TAT[i]=BurstTime[i]+WaitingTime[i]Leave a comment:
-
Windows Programming
Windows Programming
How to display Text in centre of a window(even if resized) -
Command line argumnet
Consider
public static void main(String args[])
Here how to know how amny command line arguments have been entered -
JDBC(Access) -- ResultSet
JDBC(Access)
In the following statement,
rs = stmt2.executeQu ery("SELECT * FROM stud");
if there is no records in stud then what will be in rs if there are no records in stud...
pls dont say null i have checked... -
I too have the same question. Can anyone help me?Last edited by Killer42; Oct 10 '07, 02:51 AM.Leave a comment:
-
Image display question
In my VB6.0 project i hav created a image box in which a picture is loaded in Form's load event....I am having twopictures-->Pic1.jpg and Pic2.jpg
When the mouse pointer is inside the image box Pic1 should be displayed...
When the mouse pointer is outside the image box Pic2 should be displayed...
Pls help me -
-
Tell your problem clearly.
How will you give input?
If you give the input 4 in Text1 and 6 in Text2 following code works well
Code:Text1.Text=val(Text1.Text)+val(text2.text)
If you give the input 4+6 in Text1 and nothing in Text2 then following code works well
...Code:i=1 c=0 Do While c=0 If (i=Len(Trim(Text1)) Then Exit Do End If If (mid(Text1,i,1)='+'
Leave a comment:
-
The idea of James really works well but do you think F10 key can be detected easily? It is easy to detect the alphanumeric keys but I don't know how to detect the function keys. Can you tell how to detect the following keys?All function keys...
Tab
Caps Lock
Scroll Lock
Num Lock
Home
Page Up
Page Down
End
Insert
Delete
all Arrow Keys
Print Screen
Ctrl
AltLast edited by Killer42; Oct 5 '07, 10:51 PM.Leave a comment:
-
For logoff just do this
When a user presses the logout button, search for the user in the database and make the Loged field to NoLeave a comment:
-
Just simple...
1.When a user is trying to login pls check the in database whether the username is available in Database.
2.If username is not available display a message "Invalid User" and go to step1
3.If username is available then check whether the Logged field of particular record is No
4.If the logged field of particular user is No You can proceed your work.
5.If the logged filed of that particular...Leave a comment:
-
XP style in VB projects
I need to have XP style of command buttons,text box in my VB projects..Can anyone help me???? -
table with Memo fields cannot be used in VB coding???
I have created a Database using MSacces in VisualData Manager of Visual Basic.The table contains 6 memo fields and 2 text fields.
The problem is now i cannot use this table in VB Coding.
Consider following coding
Set db=Opendatabase ("F:\new\qdb.md b")
Set rs=db.openrecor dset("select * from question")
The underlined code gives error "Type Mismatch".If I use a table... -
table with Memo fields cannot be used in VB coding
I have created a table in access with memo field.Now this table is not able to use in Vb coding -
Text datatype not enough
I am creating a project for event in symposium with VB6.0 as front end and MSAccess as backend.In my project a particular field will have nearly 1000 to 5000 characters.But access do not allow this.Can anyone help me regarding this.
No activity results to display
Show More
Leave a comment: