15,551 Topics

Member Avatar for
Member Avatar for big146

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 …

Member Avatar for Chainsaw
0
94
Member Avatar for damionspencer

: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 …

Member Avatar for Dave Sinkula
2
177
Member Avatar for Sukhbir

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

Member Avatar for Dave Sinkula
0
143
Member Avatar for Guanajuato

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" …

0
98
Member Avatar for Asif_NSU

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 …

Member Avatar for gusano79
0
180
Member Avatar for BountyX

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 …

Member Avatar for BountyX
0
932
Member Avatar for DietFist

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 …

Member Avatar for FireNet
0
107
Member Avatar for alexmejia92

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;

Member Avatar for Dave Sinkula
1
80
Member Avatar for alexmejia92

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; …

Member Avatar for Killer_Typo
0
112
Member Avatar for alexmejia92

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

Member Avatar for Chainsaw
1
326
Member Avatar for fromchina

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 …

Member Avatar for Chainsaw
0
111
Member Avatar for Brent_Ritterbec

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 …

Member Avatar for Chainsaw
0
156
Member Avatar for Mahen

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; }

Member Avatar for Chainsaw
0
168
Member Avatar for Sukhbir
Member Avatar for XianBin
0
134
Member Avatar for Mahen

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 :( …

Member Avatar for Dave Sinkula
0
173
Member Avatar for chound

I want to know where I can find tutorial on controlling the hardware of my pc using C :o

0
60
Member Avatar for kicha

how can i evaluate an expression using tree example: 2*6+5/10 actually i have doubt in inserting in a tree.

Member Avatar for Chainsaw
0
115
Member Avatar for Sukhbir

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.

Member Avatar for Dave Sinkula
0
134
Member Avatar for apurva agarwal

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.

Member Avatar for nallahp
0
128
Member Avatar for shabna

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 …

Member Avatar for Dani
0
125
Member Avatar for Brent_Ritterbec

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 …

Member Avatar for Brent_Ritterbec
0
296
Member Avatar for apurva agarwal

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

Member Avatar for Chainsaw
2
157
Member Avatar for wild_potatos

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 …

Member Avatar for Dave Sinkula
0
225
Member Avatar for chound

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 …

Member Avatar for Chainsaw
0
149
Member Avatar for sonix

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 …

Member Avatar for Dave Sinkula
0
461
Member Avatar for ArmedCoder

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 …

Member Avatar for ArmedCoder
0
192
Member Avatar for jatin

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 …

0
94
Member Avatar for RITZY_G

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]

Member Avatar for Dave Sinkula
0
146
Member Avatar for let us c

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)

Member Avatar for let us c
0
95
Member Avatar for Sukhbir

consider the programme void main() { unsigned i=1; signed j=-1; if(i<j) printf("less"); } output is: less why can someone explain me

Member Avatar for Dave Sinkula
0
128

The End.