15,550 Topics

Member Avatar for
Member Avatar for scru

I couldn't help but notice that everytime I create a window or control with Win32, the text on the window looks jagged, as though it isn't being 'clear-typed' or something. Does anybody know how I can get the text to appear normal?

Member Avatar for WolfPack
0
125
Member Avatar for sercanparlak

Hi, i'm trying to include a c# dll in c code. i have created the tlb file , registered the dll but i couldn't load it. but i could load in c++. is there any way to achieve this or equivalent of below c++ code ? Thanks ******** C++ Code …

0
42
Member Avatar for iamstrange14

I have three strings: [CODE=C]char str1[] = "My name is John"; char str2 = "My name is John also"; char final [10];[/CODE] How would i go about comparing the first two strings, and put what is different (" also") into the third one?

Member Avatar for carobee
0
77
Member Avatar for spo-apt

Hi guys i really appreciate someone can help me out with this book (C language, not C++): [img]http://www.deitel.com/bookresources/chtp5_200h.jpg[/img] [url]http://www.deitel.com/Books/C/CHowtoProgram5e/tabid/1704/Default.aspx[/url] # ISBN-10: 0-13-240416-8 # ISBN-13: 978-0-13-240416-7 Someone can share please, or PM me. i really need Thanks in advanced Regards

Member Avatar for Ancient Dragon
0
247
Member Avatar for Ajitbmsce
Member Avatar for uhguy77017

I am trying to write a simple program that reads in csv data from a text file, and then sums the values of the integers read in. I am new to C and trying to figure out small little programs to practice. I am able to get the file open, …

Member Avatar for ArkM
0
169
Member Avatar for bigOnotation

Hi all, I am a beginner in c, and i am receiving an error in my code, I am writing the code to reverse the elements of a linked list, the code is as follows: [code=c] #include <stdio.h> #include <stdlib.h> typedef struct node { int data; struct node *next; }element; …

Member Avatar for bigOnotation
0
119
Member Avatar for anbaarasan

i am having problems in creating a login in c , using file concept . could some one help me.

Member Avatar for Ancient Dragon
0
22
Member Avatar for likhitha

Hi to all......... I don't know how to convert hex to binary,in that case i am searching in the google...........at last i found in this community. I want the complete "C program for conversion of hex to binary". please help me..... I am using linux operating system. thanks in advance,

Member Avatar for Ancient Dragon
0
47
Member Avatar for Alice_Blue

Hi all, I have an incompatible pointer type problem.I am using Dev-Cpp and I am trying to intergrate some functions to a large project in C (mpeg2 decoder) and I am stuck here trying many variations to solve it: [code=c] //global.h void transpose_mat _ANSI_ARGS_((double *matA[], double *matB[], int N)); //declaration …

Member Avatar for Narue
0
128
Member Avatar for TheBeast32

Hi, I'm trying to use LogonUser. I think I'm doing everything right, but I keep getting this error: 1326 (ERROR_LOGON_FAILURE). I know my user and pass are right. [Code=C++] #include <stdlib.h> #include <stdio.h> #include <conio.h> #include <windows.h> void GetPassword(char *pass, int maxlen, char hidechar) { char ch; int len = …

Member Avatar for nucleon
0
212
Member Avatar for ternor

Hello, this is my first post here, so thanks for your time and comprehension. English isnt my first language, so I'll be trying my best. OK, I'm in need for a tutorial where I can find examples on how to make use of files, bit operations and registers(whats a register …

Member Avatar for ternor
0
98
Member Avatar for kishore84

Hello friends i have been facing problem in reading from a file consisting of both float values and strings.In need to read them and print them out. The input in the text file i have been using is 0 5.1 3.5 1.4 0.2 setosa 1 4.9 3.0 1.4 0.2 setosa …

Member Avatar for nucleon
0
265
Member Avatar for JONZ
Member Avatar for death_oclock
0
271
Member Avatar for TheBeast32

Hi, I was wondering if there was an alternative to the ShellExecute function of the Windows API; one that is universal on every OS. Is there one?

Member Avatar for death_oclock
0
81
Member Avatar for Skorpion

I want to make a program that takes input 10 random numbers from user and arrange it in ascending order. Give me help for startup plz...

Member Avatar for TheBeast32
0
151
Member Avatar for RexxX

I was wondering which method I should use to declare a 2D array. First, I was going to declare a 2D array of char arr[15][100]. In each text file, there's a number on the first line, and that displays how many columns are in the text file, so I would …

Member Avatar for Ancient Dragon
0
106
Member Avatar for marcosjp

Hi! I'm using a C program to open PDF files with this code: [code=c] ShellExecute(GetDesktopWindow(), "open", "c:\\someFolder\\myFile.pdf", NULL, NULL, SW_SHOWNORMAL); [/code] Now I need to go furthrer; I need to open the PDF file at a certain page. I've tried [code=c] "c:\\someFolder\\myFile.pdf#page=5"... [/code] ...as is suggested in Adobe's docs, but …

Member Avatar for Prabakar
0
2K
Member Avatar for omdnaik

Hi friends... Can any one give me some tips or logic for dynamically defining a structure in C... Thanx for ur help.....

Member Avatar for ArkM
0
116
Member Avatar for JRM

On the advise of ~S.O.S~, i checked out code blocks. It's rather intuitve to use. (It has to be, the documentation is very limited.) The debugger works well with it. In fact i used the step function to find a place where i was stuck in a loop. The yellow …

Member Avatar for TheBeast32
0
155
Member Avatar for ithelp

Hi C experts, In my code I have got #pragma extern_prefix (push, ""); Some extern function declarations #pragma extern_prefix (pop, ""); So that compiler does not prepend anything to those extern functions , I get an error error #14: extra text after expected end of preprocessing directive Does anyone know …

Member Avatar for death_oclock
0
5K
Member Avatar for sid78669

I wrote the following function for my assignment at college. The whole thing is working flawlessly. This function requires me to create a box on the screen as follows: [QUOTE] int console_Box(int row, int col, int l, int h, char edge, char top_btm, char ls_rs) This function displays a box …

Member Avatar for sid78669
0
96
Member Avatar for DLightman

I have a char array with a size of 17. I need to copy each block of 4 characters from the array into 4 separate char arrays. I'm not exactly how to go about this.

Member Avatar for DLightman
0
60
Member Avatar for slimjimmer

Hi. I have written a program to build an array and move values around until a point of "equilibrium" is reached. It then records how many of each number there are and outputs them to a file. My program works in part, but sometimes encounters a seg fault (I think …

Member Avatar for slimjimmer
0
148
Member Avatar for Skorpion

HI can u plz help me with this? [CODE=c]#include<stdio.h> #include<conio.h> void main () { int i,j; printf ("\t*"); for (i=2; i<=5; i++) { i=i+1; printf ("*",i); for (i=3; i>=1; i--) { printf ("*"); } printf ("\n"); } getch(); }[/CODE] its suppose to give an output in the form of diamond …

Member Avatar for Prabakar
0
127
Member Avatar for bemo55

I just learned pointers in my computer science class and i am having a hard time understanding what they are used for. Are they absolutely necessary to use them when passing arrays from functions ect. or is it just a more efficient way of doing so?

Member Avatar for ArkM
0
107
Member Avatar for premsharma

hello nice help from this site, pls help me for program problem : C program to read a list of names ending on a '$'. Each name ends on '.' and contains maximum of 30 characters. our program must convert the format as indicated in the example below and print …

Member Avatar for csurfer
0
164
Member Avatar for drjay1627

I want to read a file character by character and add to an array. [code] while(!feof(inputfile)){ chKey = getc(inputfile); for(int i = 0; i<=51; i++){ chKey = enc[i]; } }[/code] Since there isn't like a add() function, how do you move the position by 1 and add something to an …

Member Avatar for drjay1627
0
101
Member Avatar for drjay1627

The following is a project description of a project that I have to complete: Write a shell-like program that illustrates how UNIX spawns processes. This program will provide its own prompt to the user, read the command from the input and execute the command. Let the shell allow arguments to …

Member Avatar for drjay1627
0
145
Member Avatar for NenadL

Hello, i found your forum useful from time to time while i was an absolute beginner in C language. And i'd like to thank you all for that. Now i have a problem i don't have too much time to solve, so i was wondering if any of you guys …

Member Avatar for Ancient Dragon
0
327

The End.