15,551 Topics
| |
Im thinking of writing( or attempting to write ) a routing program for delivery trucks. I was wondering what the best way to go about this would be? I would like to use zipcodes, but I would also need that lattitude and longitude to be able route them in some … | |
:mad: :mad: :( :( I've been trying to write this program that is suppose to read in a text file manipulate in and give the following out put infact here is the question Implement a program that uses a form-letter template to generate form letters. Your program should read in … | |
Can someone explain me how these character or escape sequence are treated while finding string size(through sizeof() operator) \0 \n \a \1 \2 for example char str[]="\1abc\0\0" pls explain me in detailed | |
Hi, I´m using Miracle C Workbench to create an administration project. I used several files to save my project in parts, one for main, one for sales, etc. In the main file I used "include" to join all files, but when I compile it, it shows "SOURCE FILE TOO BIG" … | |
I can read which key is pressed using getch(). For example i can read whether left arrow is pressed or not. But i want know whether both left arrow and up arrow is pressed at the same time or not-- I want to move an object diagonally across the screen … | |
I have a list view report style. Im trying to sort by click on a header. For some reason it does nothing. This Peice of code is invoked when the column is clicked. [CODE] if (pnm->hdr.code == LVN_COLUMNCLICK) { //DialogBoxParam(ghInstance, MAKEINTRESOURCE(IDD_SORT), // NULL, (DLGPROC)SortDlgProc, 0); if(nSortDir[pnm->iSubItem]) nSortDir[pnm->iSubItem] = false; else … | |
Does anyone know of any good libraries that will handle establishing a HTTPS connection? I really don't have the time to get in and learn how to send HTTP packets let alone worry about encryption, so if someone could suggest something that would be great. I'm also looking to set … | |
I have my program until that point and I can't finished, please someone helps me to finish my homework #include <stdio.h> int main () { int x, y; x = 6; y = 2*x*x*x+5; | |
I need to write a C program `(a) declare two integer variables , and y` `(b) lex x = 6` `(c) find y value use the following algebraic fromula: y=2*x*x*x+5 ` and I only have until these part #include <stdio.h> int main () { int x, y; x = 6; … | |
I really need help I'm student from college and I need to write a C program a) declare two integer variables x and y b) let x = 6 c) find y value use the following algebraic formula y=2x (third power) + 5 | |
typedef struct _mib_info{ int mib_vartype; Bool mib_writable; Bool mib_varleaf; [COLOR=DarkOrange] int (*mib_func)( struct _mib_info *, char );//pointer[/COLOR] char *mib_func_param; struct _mib_info *mib_info_next; }mib_info; mib_info mib[] = { { 2, FALSE, NLEAF, [COLOR=DarkOrange]snleaf[/COLOR], 0, 0}, // } ; /*-------------------------------------------- There is a mistake in GetID():indirect call: parameters do not fit within … | |
I wrote a program that allows me to send data to a file if I wanted to do that by redirecting the data stream. The only problem is that I can't figure out how to make that work from the DOS prompt. Here is the program: /* echo_eof.c -- repeats … | |
Hi everyone, i wanted my program to create another small program, but it stopped at `"\x00"`, why and what can i do. Thnaks #include <stdio.h> int main() { FILE *out; out = fopen("c:\\cpy.exe", "wb"); fprintf(out, "\xCD\x21\x00\xCD\x21"); fclose(out); return 0; } | |
| |
hi everyone, hope u r all feeling fine :mrgreen: this is my program: #include <stdio.h> int main() { char pass[12]; printf("Enter Password: "); gets(pass); if (pass == "neo") { printf ("ini"); } else printf("Wrong"); return 0 ; } when i enter "neo" as password, it does the "wrong" thing :( … | |
I want to know where I can find tutorial on controlling the hardware of my pc using C :o | |
how can i evaluate an expression using tree example: 2*6+5/10 actually i have doubt in inserting in a tree. | |
Consider the following programme void main() { char str[]="\12345s\n"; printf("%d",sizeof(str)); } Output is :6 can someone explain me why.And is sizeof contain null value while gigving the size of any string. | |
winding rule is used to find the points either interior or exterior to ploygon so , but the problem lies that when the point lies in the same line we have to apply some different concept that i am not able get it sp pleas explain it. | |
sir,please correct the errors in this program and also write the algorithm in this program and give me an introduction to this program.Pls send the error free program,algorithm & introduction before 03/09/2004.thank you #include<iostream> #include<iomanip> #include<stdio> #include<cstdlib> #include<cctype> #include<fstream> using namespace std; const int maxchrs=50; const int items=3; const short … | |
Hello, I started learning C about 2 days ago, and now I have come to a problem that I can't figure out why I am getting the result I am getting. I bought a book, and I have proceeded quickly through it until now. The problem I was given was … | |
insert a node in circular link list without traversing it. :?: you have to insert the node at any place "without traversing it help me out!!! in this | |
Hi guys / girls i am new in this forum and i hope you could help me in this problem. i programmed a link list which stores some information one of them is strings and i entered them using the function gets(); instead of scanf(); to enable the program to … | |
How do I create a function with variable parameters. Will "functionname(float a, ...);" work? If it does how do I use the variables. Eg. [CODE]void f1(int i, ...); void main() { int a, b,c; cout<<"Enter 3 values"; cin>>a>>b>>c; f1(a, b, c); } void fi() { //How do I access the … | |
anyone remembers the syntax of reading a file into C and subsequently printing it out? for eg. i have the file 'matrix.txt' the contents inside the file is as follows: <matrix> rows = 2; cols = 2; 1 2 2 4 </matrix> how do i read it into my C … | |
Hi, im just learning about multithreading for a program i am writing that ne eds to read from multiple camreas attached to the computer at the same time. I know how to create threads and pass around info, and i know a bit about mu texes but this is not … | |
hey guys..... i need 2 write this program which picks as and when a new message is written into the syslog file(syslog is a system file in unix) the trouble is ther r hundred's of messeges written into syslog file. I was experimenting with End Of File and pointerts but … | |
can u please xplain' wat this error means: [COLOR=Sienna][FONT=Comic Sans MS][U][I][B][SIZE=2]Linking... file_name.obj : error LNK2001: unresolved external symbol "int * resultarray" (?resultarray@@3PAHA) Debug/file_name.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe.[/SIZE][/B][/I][/U][/FONT][/COLOR] | |
hi i want to get following output. 1 2 2 2 3 3 3 3 3 4 4 4 4 4 4 4 and so on in 1st row one 1 in 2nd three 2 in 3rd five 3 in 4rt seven 4 in 5th nine 5 (all odd outputs) | |
consider the programme void main() { unsigned i=1; signed j=-1; if(i<j) printf("less"); } output is: less why can someone explain me |
The End.