15,550 Topics

Member Avatar for
Member Avatar for nagarjuna

I m Nagarjuna doing my engg in comp sci. I m preparing for GATE -2007 to pursue Mtech in any of the IITÅ¡. Does any of u ve the materials for GATE

0
67
Member Avatar for linq

I want to create my own cursor image by importing an exsiting .ico file, but every time the VS6.0 automatically imported it into resources as ICON file, even I name it as IDC_CURSOR1, I can not use " wndclass.hCursor = LoadCursor (hInstance, MAKEINTRESOURCE (IDC_CURSOR1)) ;" to create my own cursor

Member Avatar for WolfPack
1
94
Member Avatar for poorni

:?: haiii iam a student from engg college... i juz have a lab on compilers.. i have a program called conversion of Regular expression to NDFA.. can u plz help me with de source program... in C:?: :?: :idea:

Member Avatar for Karthi Msc
1
150
Member Avatar for chunkmartinez

Im wanting to create a simple command line prog, and i want it to randomly change the desktop background by simple commands using the registry but i cant find out anyware on how to change desktop bg with registry. does anyone know?:twisted:

Member Avatar for WolfPack
1
66
Member Avatar for Ajay Raj

Hi, Could any one please let me know if we can connect to database using C, and if yes let me know the functions in C used to send the SQL statements in the buffer to SQL server.

Member Avatar for Ajay Raj
0
115
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 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
187
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
183
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
68
Member Avatar for gampalu

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

Member Avatar for gampalu
1
92
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
294
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
110
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
71
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
97
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
204
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
127
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
87
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
532
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
138
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
142
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
410
Member Avatar for Gigs_
Member Avatar for ~s.o.s~
1
92
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
115
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
319
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
101
Member Avatar for linq
Member Avatar for Ancient Dragon
1
102
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
93
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
693
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
120
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
65

The End.