Forum: C Sep 8th, 2009 |
| Replies: 3 Views: 274 #include<stdio.h>
struct book
{
char name[25] ;
char author[25] ;
int callno ;
} ;
int main()
{
struct book b1={ "Let us C", "YPK",... |
Forum: Networking Hardware Configuration Jul 10th, 2009 |
| Replies: 0 Views: 381 can anybody help me how to setup bluetooth in rhel5 so that i can transfer files to and from my mobile to linux box?
thanks in advance |
Forum: C++ Mar 16th, 2009 |
| Replies: 2 Views: 237 thanks it works well with <iostream> but i'll have to make change in all the files i have made. any way thanks again for your quick reply i will surely try this. |
Forum: C++ Mar 16th, 2009 |
| Replies: 2 Views: 237 i used following command to overcome edit-compile-run cycle while working with vim editor.
:set makeprg=g++\ %
then i ran the
:make command
every thing worked fine except that instead of... |
Forum: C++ Mar 10th, 2009 |
| Replies: 11 Views: 1,078 sorry for replying late,i am a newbie can u please explain me what is the difference between character array and and std::string?
all i want do that if a user has to input the data "red" how can i... |
Forum: C++ Mar 9th, 2009 |
| Replies: 11 Views: 1,078 hi everyone
i have written a simple program which asks for the colour and no of wheels of a vehicle.
i used gets() for inputting colour of vehicle.but it was skipping that line.
some body... |
Forum: C++ Feb 21st, 2009 |
| Replies: 5 Views: 607 actually i want to write a code that takes array as an argument then sort and display the arrays.I have craeted the function for sorting and displaying but now i am stuck at how to pass the arrays... |
Forum: C++ Feb 21st, 2009 |
| Replies: 5 Views: 607 thanks salem for your quick reply but i have one more doubt as i am a beginner that what if i have diclared more than one array members in the class eg. arr1[3] then how will function know to display... |
Forum: C++ Feb 21st, 2009 |
| Replies: 5 Views: 607 hi can anybody please expalin me that can i access the array(arr) which is declared as a private member of the class(array) by using public function (display). The code is given here...... |
Forum: Linux Servers and Apache Jul 12th, 2008 |
| Replies: 2 Views: 1,261 hi,
can any one please tell me, if I want to check that if any particular port on a remote workstation is open or closed on a LAN which command should I use ? If the ping command can be used... |
Forum: Shell Scripting Apr 2nd, 2008 |
| Replies: 0 Views: 864 We have a plant in which all the activities are recorded in a log file. We have to make an application which retrieves data from the log file,like history of a product which is passed from various... |
Forum: C Dec 31st, 2007 |
| Replies: 10 Views: 2,634 you are absolutely right,but i dont have any driver and even if i want to call the hardware by writing my code in c,where do i put my code i don't have access to the server, is there any other way... |
Forum: C Dec 26th, 2007 |
| Replies: 10 Views: 2,634 the weighing device has a digital display & also a port for connecting it to PC. currently we take reading from the display and enter the data manually on video pages.
actually the whole system is... |
Forum: C Dec 26th, 2007 |
| Replies: 10 Views: 2,634 no the weighing device is not directly connected to the pc, but it can be attached directly to the pc with serial port. But the problem is that, I can enter the data manually in the video page of the... |
Forum: C Dec 18th, 2007 |
| Replies: 10 Views: 2,634 I have a weighing device. however the device has inter face for connecting it to serial or parallel port but the reading of the device is entered manually in a video page of a diskless pc which... |
Forum: C Dec 18th, 2007 |
| Replies: 10 Views: 2,634 i want to take data from serial port and want to redirect it to the ps/2(keyboard) port.
is it possible to do so if yes please help. |
Forum: C Nov 17th, 2007 |
| Replies: 3 Views: 658 I am using dev cpp compiler and os is wintdows 2000. I want that when i run the code it the printer should print the barcode.
Regards
Prashant |
Forum: C Nov 17th, 2007 |
| Replies: 3 Views: 658 i have a program which outputs a .prt file for printing barcode. But i want to send the file directly to the printer port LPT1 for printing instead of having .prt file please any body suggest a... |
Forum: C Nov 5th, 2007 |
| Replies: 10 Views: 2,022 my question is should I give the full path name as C :\\Documents and Settings\\Administrator\\Desktop\\myfile.txt in the as fopen("C:\\Documents and Settings\\Administrator\\Desktop\\myfile.txt",... |
Forum: C Nov 5th, 2007 |
| Replies: 10 Views: 2,022 can u help me what I am doing wrong in above program?? |
Forum: C Nov 3rd, 2007 |
| Replies: 10 Views: 2,022 I want to print the contents on screen and I also tried with "r" instead of "w" but it is not working!!
#include<stdio.h>
#include<conio.h>
int main()
{
FILE *fp;
... |
Forum: C Nov 3rd, 2007 |
| Replies: 10 Views: 2,022 i tried to create a simple test program bu it could not print the contents of the file myfile.txt.
please help!
#include<stdio.h>
int main()
{
FILE *fp;
fp=fopen("C:\\Documents and... |
Forum: C Nov 3rd, 2007 |
| Replies: 10 Views: 2,022 I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help
Regards
Prashant |
Forum: C++ Oct 14th, 2007 |
| Replies: 1 Views: 3,266 can anybod suggest me links for free ebooks where I can find books on C++ programming in linux.
I'll be highly thankful. |
Forum: C Oct 11th, 2007 |
| Replies: 6 Views: 1,306 If it is not possible for windows compiler then suggest me any linux compiler...I do have Kdevelop on linux but i do not know how to use it.....if u can suggest any other compiler or any other way of... |
Forum: C Oct 10th, 2007 |
| Replies: 6 Views: 1,306 I am using turbo c++ compiler and i have also tried it on Visual c++. if u can suggest any other compiler please suggest |
Forum: C Oct 10th, 2007 |
| Replies: 6 Views: 1,306 I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. when i try to compile these files it says following header files are... |
Forum: C Oct 8th, 2007 |
| Replies: 2 Views: 2,573 |
Forum: C Oct 8th, 2007 |
| Replies: 2 Views: 2,573 I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. How can i compile these files? I have Borland 2006 C++ IDE, also VC++... |