18,490 Topics

Member Avatar for
Member Avatar for beatle555

Hi Guys And Gals I Am Basically A C,c++ Programmer And By Interest Learned ..net Framework,vb,oracle,my Sql,php,ajax,apache,html,xmland Script Side Languages Along With Perl And Cgi. I Quite Known Microsft Sql Server And Earned Diploma In Testing And Quality Management. Presently Studying Final Year B.e My Correct Project Is In Ajax …

Member Avatar for happygeek
0
59
Member Avatar for amano

Hello I'm newbie in C programming. Iwant to make a simple contact book that have add, delete, edit, and display function. 2 out of 4 i've done which is add and delete. So I need some help from all of you in edit and list function. Here is my function …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for madcapjack

My instructor has given us an assignment which *should* be relatively easy except for the fact that the instructor's instructions are not clear, sometimes ungrammatical, and she refuses to answer any questions or fix any mistakes. Here are the instructions for the assignment: "Let A[1..n] be of n elements. Let …

Member Avatar for Rashakil Fol
0
79
Member Avatar for jan1024188

im linux user!!!! how to run this script? [QUOTE] int main(void) { printf("Hello world!\n"); return 0; }[/QUOTE] its written with emacs what to do? is there any programming tool in linux for C programming?

Member Avatar for jan1024188
0
218
Member Avatar for jan1024188

i wanna learn C and python so i decided to buy this books [URL="http://www.amazon.com/Beginning-Python-Novice-Professional/dp/159059519X/sr=1-2/qid=1158329988/ref=pd_bbs_2/002-5524795-3083268?ie=UTF8&s=books"]http://www.amazon.com/Beginning-Pyth...e=UTF8&s=books[/URL] [URL="http://www.amazon.com/Absolute-Beginner-Guide-Greg-Perry/dp/0672305100/sr=1-1/qid=1158329590/ref=sr_1_1/002-5524795-3083268?ie=UTF8&s=books"]http://www.amazon.com/Absolute-Begin...e=UTF8&s=books[/URL] i also want to use other shells so [URL="http://www.amazon.com/UNIX-Shells-Example-4th/dp/013147572X/sr=1-5/qid=1158329052/ref=sr_1_5/002-5524795-3083268?ie=UTF8&s=books"]http://www.amazon.com/UNIX-Shells-Ex...e=UTF8&s=books[/URL] my question is.Are this books good.?will i get what i wanted?is there anything better? __________________

0
73
Member Avatar for rxgmoral

CString Convert to LPCTSTR i write DLL file,it is static dll i want CString type Convert to LPCTSTR but error Code: <<<<<<<<<<<Dll File>>>>>>>>> <<<<<<<A.H>>>>>>> class AFX_NOVTABLE dll { public: __declspec(dllexport) LPCTSTR Fun(); }; <<<<<<<A.Cpp>>>>>> LPCTSTR dll::Fun() { CString Rxg=_T("rxg"); LPCTSTR lpszStr=Rxg.GetBuffer(); return lpszStr; } <<<<<<<<Exe>>>>>>>>> #pragma comment(lib,"dll.lib") #include "A.h" .................. …

Member Avatar for rxgmoral
1
215
Member Avatar for linq

by adding these code to the case WM_PAINT: hdc = BeginPaint(hWnd, &ps); MoveToEx (hdc, 100, 100, NULL) ; LineTo (hdc, 100, 200) ; EndPaint(hWnd, &ps); why can I adding them to the case WM_CREATE to realise it?

Member Avatar for Ancient Dragon
1
76
Member Avatar for gampalu

Hi, can you please indicate me some ebooks about C for beginners, thanks

Member Avatar for gampalu
1
99
Member Avatar for dsraju

Hi all,I am having some doubts in C. 1>> My program needs to allocate memory of 256*256 array of integers ie array[256][256]. But it cannot be allocated statically.So pls suggest me how to allocate memory of 256*256 integers dynamically.My code below given is unable to allocate memory and is returning …

Member Avatar for Iqbal_h_a
0
347
Member Avatar for the.future.zone

Hi guys. Hope all is well. There's another concern too. If one is to write a code in which a number would be changed into its binary equivalent, and the binary equivalent would be printed, how does one untie this knot? [CODE] #include<stdio.h> main() { int n; /* the number …

Member Avatar for rinoa04
1
143
Member Avatar for dsraju

Can any one say, In which case Null Pointer Assignment is displayed on the output screen in a C programming ?Hoping ur answers .............Urs Raju

Member Avatar for dsraju
0
103
Member Avatar for FrstratdProg

Hello, everyone. Since I am new to this site, I have both a question to ask regarding the subject tags, and also about a while exercise I am working on. However, before I state the while exercise, I first need to know exactly how one uses the subject tags to …

Member Avatar for Dani
1
113
Member Avatar for govinda.attal

[code] int main() { int var; char string[50]; (var, string); (0); (0, 1, 2); return 0; } [/code] Reply ASAP Thanks in advance Govinda Attal.

Member Avatar for andor
1
222
Member Avatar for ariyan

How to store a 64 bit value into 2 unsigned long variable (of 32 bit)? Let, [code]: unsigned long a; // variable 'a' will be incremented regularly and 'll be stored in b void fun(void) { unsigned long double b; // It may be a global variable b += a; …

Member Avatar for ariyan
1
155
Member Avatar for Fabii23

I am getting this error: .c:28: warning: assignment makes integer from pointer without a cast -any fixes thank you [code]#include <stdio.h> #include <string.h> void addValue(); void changeId(int data, char *name); int main() { addValue(); changeId(2, "Bill "); getchar(); return 0; } struct Node{ int data; char *name; }node; void addValue() …

Member Avatar for Ancient Dragon
1
102
Member Avatar for himanjim

unsigned int a =0xffff; ~a; printf("%x",a); gives output ffff Complementing function works here. What's use of 0x in 0xffff as unsigned int is of 2 bytes only??? Can anybody suggest???

Member Avatar for Dave Sinkula
1
567
Member Avatar for dsraju

Hi everbody,My below program is running successfully ,but at end it is displaying Null Pointer Assignment as output. Why ??? [code] #include #include int main(){ float far **ptr; /* For 2-D array dynamic allocation*/ register int i,j; ptr=(float far**)calloc(256,sizeof(ptr)); if(ptr==NULL) { printf("\n No Memory! "); return 0; } for(i=0;i[/code]

Member Avatar for ~s.o.s~
0
155
Member Avatar for piscesming

I come from China.I studying C\C++ until now.I find this forum,hoping can help and study something.

Member Avatar for Dani
0
33
Member Avatar for whitemoss

Hi All, I've write a code for client and server. It works well so far but the server just acknowledge the client of what it received. How to recode this program to make sure that once server acknowledged the client that the data sent by the client have been append …

Member Avatar for whitemoss
1
149
Member Avatar for linq

another question: when I create a window, I use function CALLBACK WndProc(), if another dialog box will be triggered by clicking a certain button in this window, I may use another function CALLBACK DlgProc(). if there is other more, I may use another CALLBACK DlgProc().... could I integrate all those …

Member Avatar for GloriousEremite
0
439
Member Avatar for Gigs_
Member Avatar for ~s.o.s~
1
117
Member Avatar for the.future.zone

Hello guys. Thanks for the help in the previous posts. This one is regarding pointers in C language. Does 1) c = *a and 2) *a = c mean the same thing? I think they are. Are they? Thanks for the reply.

Member Avatar for ~s.o.s~
2
130
Member Avatar for linq

pop out so many errors, which seemed don't even exist: --------------------Configuration: 12 - Win32 Debug-------------------- Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\include\winuser.h(3) : error C2143: syntax error : missing ';' before '.' c:\program files\microsoft visual studio\vc98\include\winuser.h(3) : error C2501: 'winuser' : missing storage-class or type specifiers c:\program files\microsoft visual studio\vc98\include\winuser.h(3) : …

Member Avatar for ~s.o.s~
1
330
Member Avatar for nhandal

Hi, I am trying to create a treeview control in a window that includes a toolbar and a status bar, I need to position the treeview immediately below the toolbar. In order to do this I need to calculate the height of the toolbar and used it as the Y …

Member Avatar for nhandal
1
121
Member Avatar for linq
Member Avatar for linq

the MSDN description: hIconSm: Handle to a small icon that is associated with the window class hIcon: Handle to the class icon. But I still confused! when I creat a window "WNDCLASSEX wc", I could always only see the icon load by the wc.hIconSm when excuting, where to find the …

Member Avatar for GloriousEremite
1
111
Member Avatar for viki

hi , I am trying for partial fraction deomposition of polynomials. I have problems in solving the denominator and in applying different conditions for special cases . Is there any stright forward method for this.

Member Avatar for DavidB
1
768
Member Avatar for WolfPack

Seen this issue for sometime. When I initially open the C/C++ page from my bookmark, the online indicator does not show it's green color. After refreshing the page or viewing a thread or do something with the webpage, the online indication button turns green. Image Attached

Member Avatar for Dani
0
156
Member Avatar for dsraju

1)Can you suggest me how to assign a pre-defined 2-dimensional array to a pointer.The intension here is to pass 2-D array to a funtion so that changes in the function will reflect the 2-D array . [code]void main(){ int array[40][40]; fun(array); } void fun(int **array){ ........}[/code] The above code is …

Member Avatar for ~s.o.s~
1
171
Member Avatar for nagarjuna

Hi, I m an engineering student. I wanted to know how r pointers supported in c . How is that any levels of indirection is supported.

0
71
Member Avatar for aaholland

I am writing a program for my college class :eek: It has to record a password, but it cant display it on the screen. It is a unix based enviroment. Does this look correct to you guys? [CODE] main() { int i; char buffer[80]; initscr(); printw("Please enter a password => …

Member Avatar for ~s.o.s~
1
112
Member Avatar for promiscuoustx

Hi all!!! I have been tearing my hair out trying to figure out how to make the below program calculate and display the total sales tax for each location. If anyone can please look at my code and send me in the right direction, I am hoping I can get …

Member Avatar for WaltP
1
993
Member Avatar for smagee12

In a statement like this [code] void mousebuttonhandler(int button, int state, int x, int y) { int counter; if (button == GLUT_LEFT_BUTTON && state == 0) counter ++; printf("Mouse button event, button=%d, state=%d, x=%d, y=%d\n, ", button, state, x, y); glutPostRedisplay(); } [/code] It appears that im trying to count …

Member Avatar for ~s.o.s~
1
140
Member Avatar for jashwant kumar

[B]jassi here[/B] [B] hello friends i m currently pursuing diploma in advanced computing from pune in india could u pliese help me sending most frequently asked questions in c and c++[/B]

Member Avatar for happygeek
1
70
Member Avatar for the.future.zone

Hello. Can C family be used for GUI applications too e.g games developments, or are they limited to just text applications? are there any real benefits to the C family languages? Plz, include any site you know that can provide more information. Thanks.

Member Avatar for mostafadotnet
0
89
Member Avatar for Iqbal_h_a

[code] Please look at the following code snippets: char str[]="abcd"; // Gets stored in stack frame. char *str="abcd"; // Where does this gets stored? In case of first declaration ie char str[]="abcd"; the string "abcd" gets stored in the stack frame of the invoked funciton. I wonder where does the …

Member Avatar for ~s.o.s~
-1
203
Member Avatar for becki

hi every one, im working on a program to convert the binary number system to the decimal one. I have the code yet im wondering if it a while loop can be used instead of a for loop. i have major problems trying to work out for loops, stupid me! …

Member Avatar for WaltP
1
229
Member Avatar for pavanpalaksha

Hi All, I am using system function to decrypt an encrypted file, But it's taking too much of time, as a result of file access i want to know how to store the output of system( ) function into local variables instead of a file. Code goes like this. sprintf(syscommand,"des …

Member Avatar for Ancient Dragon
1
314
Member Avatar for hygy486

here is my code i get an error of call of non function in lines 29, 34, 39 and 44 apprecite help or an alternate code if possible here is code [CODE] int main (void) { char desiredgrade; double min_average; double currentaverage; double weight; double score; printf("Please enter your desired …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for abhikamune

hello, every one i have one query i want MAC address(hard ware 12 character addres) from my c ,VC++ program. pls tell me how i get this id from programing :?: :rolleyes: send it to[COLOR=red] [/COLOR]<deleted email as per forum rules>[COLOR=red] [/COLOR]

Member Avatar for Grunt
1
86
Member Avatar for shadowxgm

i want to find a string in C:\text.txt. if i find it , i can modify it. please help me~ data segment tip db 'This program will search a string in C:\text.txt.If it exists,you can insert a new word in that position.$' mes1 db 'please enter your string:$' mes2 db …

0
63
Member Avatar for Iqbal_h_a

It is not allowed to declare a variable of same structure type but it is allowed to declare a pointer. For example, [code] struct node { int a; struct node x; //not allowed struct node *pnext; //allowed }; [/code] My question is when we can declare a pointer of same …

Member Avatar for Iqbal_h_a
1
222
Member Avatar for Tlhokomelo

Please help, I am leaning C on my own so you are my only Hope :o I am using that "The C programming Language" E-book but it does not teach how to compile in linux - I was too long ago :rolleyes: when those Bell Lab guys wrote it :cry: …

Member Avatar for John A
0
187
Member Avatar for BombAppetit

greetings i'm not too sure if this is the correct place to ask for this in this particular forum i'm working on to make a USB PIC programmer. is it possible to modify the firmware for 16F628 used in Wisp628 board, so that it can be burnt into an 18F4550 …

Member Avatar for mostafadotnet
1
153
Member Avatar for ashokkumarrsp
Member Avatar for Dave Sinkula
1
887
Member Avatar for santosdas

Hi, I've c source code developed in 32-bit linux machine. Can I run it in 64-bit linux machine. Thank you. Santos

Member Avatar for Rashakil Fol
1
137
Member Avatar for bh_hensem

Hi, Actually my program will be read some input, as example :- 123 456 789 123 567 456 Then, I want to copy all the data into array and filter out any duplicate or same record..Finally the program will be print the result without duplicate records ? Could somebody guide …

Member Avatar for Salem
0
118
Member Avatar for VinC

I'm self-teaching myself C with a complete reference book. Unfortunately that means that the author assumes that the reader is familiar with fundamental concepts and doesn't bother commenting the code. Here is an unnecessarily obfuscated code excerpt demonstrating "the use of return statements" along with my attempt to understand what …

Member Avatar for VinC
1
146
Member Avatar for muhammad amir

actually i dont have complete concept about bigO notation that usually used to find time complexity my question is in bigO notation why we ignore constant for example f=100n we say that our algorithm has order of n time comlexity or order

Member Avatar for Grunt
1
186
Member Avatar for jahnavi
Member Avatar for ~s.o.s~
-2
89

The End.