Forum: C Apr 5th, 2009 |
| Replies: 2 Views: 285 Post the code, whatever you have tried.
We only give homework help to those who show effort
http://www.daniweb.com/forums/announcement118-2.html |
Forum: C Mar 16th, 2008 |
| Replies: 2 Views: 515 > convert my c program so it works on a linux system or mac
Don't use any non standard functions. Dont use conio.h, since that is DOS library. So replace getch() with getchar() since later is... |
Forum: C Jan 3rd, 2008 |
| Replies: 3 Views: 900 If you just want to print single character, you could also use putchar() |
Forum: C Oct 9th, 2007 |
| Replies: 18 Views: 4,279 I don't know anything about it, infact nothing about 64 bit programming. But a liitle google search helped me to find this... |
Forum: C Sep 23rd, 2007 |
| Replies: 1 Views: 669 1) You need access rights to the database of that forum. Then you will need to use that Database API to access that via C.
2) Again I think, you will need permission to access any hotmail account... |
Forum: C Sep 15th, 2007 |
| Replies: 6 Views: 1,914 That would depend upon OS. For example in windows the WinAPI function is ExitWindowsEx. In other systems its other. In DOS its quite simple as windows one and here an article ... |
Forum: C Sep 13th, 2007 |
| Replies: 8 Views: 9,684 What didn't you understand. Try a google search. Here is alink and a sample program:
http://www.taygeta.com/random/gaussian.html
http://www.physics.unlv.edu/~pang/comp2/code213.c |
Forum: C Sep 12th, 2007 |
| Replies: 33 Views: 69,000 Well there is Turbo C++ Explorer 2006 (http://www.turboexplorer.com), which is new and latest one.
But if you want older one(they do not support ANSI C++) then look for Turbo C++ 4.5. But no hopes... |
Forum: C Sep 11th, 2007 |
| Replies: 7 Views: 2,383 Here's anothe way
x -= y;
y += x; // y becomes x
x = (y - x); // x becomes y |
Forum: C Sep 5th, 2007 |
| Replies: 15 Views: 2,151 Its initgraph (http://www.cs.colorado.edu/%7Emain/cs1300/doc/bgi/initgraph.html). Also the third argument must contain right path to the directory where BGI files are stored. |
Forum: C Sep 4th, 2007 |
| Replies: 7 Views: 1,243 But the link works perfectly for me. |
Forum: C Sep 4th, 2007 |
| Replies: 7 Views: 1,243 Have a look at this (http://blog.eikke.com/index.php/ikke/2005/11/03/using_c_classes_in_c). |
Forum: C Apr 12th, 2007 |
| Replies: 9 Views: 1,416 How about putting all of them in a function::
#include<stdio.h>
int get4ints()
{//function to collect 4 integers
int count,num=0,number[4];
for(count=0;count<4;count++)
{
... |
Forum: C Mar 31st, 2007 |
| Replies: 2 Views: 2,436 Youu mean using icons with executables. If you have source code then change resource.rc file or there are certain software, i have an old version of Axialis Icon Workshop which could change icon of... |
Forum: C Mar 23rd, 2007 |
| Replies: 4 Views: 4,551 I know few old functions, but they are not standardised
getch() , getche |
Forum: C Mar 23rd, 2007 |
| Replies: 2 Views: 1,356 You have used tabs. Use setw instead of that. That would surely work. Look at thi chunk of code
cout << setw(5) << "ID"
<< setw(40) << "BOOK NAME"
<< setw(30) << "AUTHOR"
... |
Forum: C Mar 21st, 2007 |
| Replies: 4 Views: 2,049 Well, you must post whatever you have tried till now. See this (http://www.daniweb.com/techtalkforums/announcement8-2.html)
But since, you have got solution, you may see this too:
... |
Forum: C Mar 12th, 2007 |
| Replies: 27 Views: 5,782 I think you you use Turbo C, so string class wont work with your compiler, because Turbo C++ is old compiler and supports AT&T C++ not ANSI C++.
And yes you should also not use gets() and puts()... |
Forum: C Mar 3rd, 2007 |
| Replies: 16 Views: 5,506 I dont remember but I think it comes.
I didn't even used it Turbo C 2006, I had some post installation problem, so tell me if there is any documentation for troubleshooting. I just wanna try it... |
Forum: C Mar 3rd, 2007 |
| Replies: 16 Views: 5,506 A graphics library borland BGI is included with your Turbo C. The declaration are present in graphic.h file. To view all its members and know how to use it, right click the blue screen i.e. editor,... |
Forum: C Mar 2nd, 2007 |
| Replies: 16 Views: 5,506 What is meant by pixel box...err...does it mean not by character but something like what we so n paint and photoshop.....then you have to use some grapgics library. |
Forum: C Mar 1st, 2007 |
| Replies: 16 Views: 5,506 Well there are few ASCII character which will help you to draw boxes. You see this extended ASCII chart http://www.asciitable.com/.
Here's an example which i did in my project:
I compilered it in... |
Forum: C Feb 22nd, 2007 |
| Replies: 6 Views: 4,021 Set the directory include option to:
C:\windows\desktop\tc\include
or if you are using class library:
use
C:\windows\desktop\tc\include;C:\windows\desktop\tc\classlib\include |
Forum: C Feb 17th, 2007 |
| Replies: 1 Views: 2,260 I just wanted to ask what is bioskey(), what does it do, and how to use it? |
Forum: C Nov 12th, 2006 |
| Replies: 2 Views: 1,646 here's a piece of window procedure. What does DefWindowProc do in this program.
LRESULT CALLBACK WndProcedure(HWND hWnd, UINT Msg,
WPARAM wParam, LPARAM lParam)
{
switch(Msg)... |
Forum: C Oct 16th, 2006 |
| Replies: 2 Views: 813 well i am a high school student and we'll study pointers within next month and i am trying to understand it right now. but what i could understand is what is its use, advantages and for the most that... |
Forum: C Oct 11th, 2006 |
| Replies: 1 Views: 1,695 i have searched a lot for win 16 api tutorials but got only win32 api tutorials. i would like to start learning api with 16 bit and then 32. I would like to know some win16 api tutorials on web. |