Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
29% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
14
Posts with Downvotes
5
Downvoting Members
8
5 Commented Posts
0 Endorsements
Ranked #1K
~23.3K People Reached
Favorite Tags
Member Avatar for venus87

How to write a C program to count the number of mouse clicks in our Pc.Can any one give me idea for that ?

Member Avatar for Seyferx
0
3K
Member Avatar for naik.pranjal
Member Avatar for Varun_8
-1
872
Member Avatar for mavtcr

Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, the focus should go to the third textbox-'Name' else message "Record not found" should be displayed.I tried the following code …

Member Avatar for mavtcr
0
397
Member Avatar for mvmalderen

One of the things which attracted my attention was that there are often newbies asking how to create a password program in C/C++, often they don't succeed, well here's my response, you can use it for any purpose you want, one thing you'll have to keep in mind is that …

Member Avatar for Remy1990
0
8K
Member Avatar for arcticman452

I am writing a program that calls the memory address of different variable types. I am having troubles with getting the address locations for my array and my char pointers. Here is what I have so far: #include <iostream> #include <string> using namespace std; int main() { const int NUMBER_LIST …

Member Avatar for arcticman452
0
150
Member Avatar for harishjoy

Hi , I have this code for win xp `char NotesDir[] = "\\Program Files\\notesw32"; char Fname[] = "C:\\Program Files\\notesw32\\notes.ini"; char Bakname[] = "C:\\Program Files\\notesw32\\notesini.bak";` But for win 7 , these files will be present in c:\\Program Files (x86) folder. How do i make sure my code works for both xp …

Member Avatar for harishjoy
0
285
Member Avatar for 9tontruck

Hi, I need to read byte by byte data from header-like file. The format of the file is in the link, please take a look http://imageshack.us/photo/my-images/96/tablefu.jpg/ I dont need the first 128bytes and I need to get the next 4 bytes. My code is like below: char* icm_name = "Samsung_to_Cannon.icm"; …

Member Avatar for Ab000dy_85
0
353
Member Avatar for dangkhoaddt

I want find size of array by pointer in a function.example : //char array[] is a random array,i can alloc dynamic,so i can know size,i want access a random possition in array. char* pointer; void myfunc (char * array) { pointer = array; //how many elements in the array??? } …

Member Avatar for dangkhoaddt
0
201
Member Avatar for shujat132

**My academic assignmentt ** **Please help me in coding for this assignment** In Linux Ubuntu flavor, write a program in C language to do the following tasks. 1) Use fork ( ) system call to create a child process. 2) Child process should first take student name as input and …

Member Avatar for khudayar
0
2K
Member Avatar for Cronicle8

Hello everyone, I am trying to create a thermometer, i do have an idea of how to make it, not sure if it is correct, but here it goes: I have an image of a thermometer, and i would apply a mask(Rectangle), and it's width and X would vary. I'm …

Member Avatar for Ab000dy_85
0
103
Member Avatar for mchung90

Hello, I was curious to how I would go about modifying an existing text file (to all upper case) by the use of mapped memory. I think I have done the mapping correct, however I am stuck on how to modify the file. Help would be much appreciated, thanks! #include …

Member Avatar for mchung90
0
136
Member Avatar for lxXTaCoXxl

Just a couple basic static mathematical helper methods that I've found useful for game development. Feel free to add some in replies for future visitors. I will do another post later this week with advanced helper methods from trig and calc. I will also do a geometry helper class as …

Member Avatar for skatamatic
0
157
Member Avatar for mohan_saini

Hi all, I have to interface an IC which is giving serial output bitwise from a single pin this pin is directly connected to a microcontroller i have to read this single pin to an unsigned int. i have written a function something like that but its not working. unsigned …

Member Avatar for Ab000dy_85
0
128
Member Avatar for Dean_williams

Hello. I was searching on how to copy the string from the first point in the file to the index of comma -1. I have a .mrk file that i would be reading. My idea is that the loop will go through the file and find the comma. There will …

Member Avatar for Dean_williams
0
211
Member Avatar for ddanbe

Start a new console application and fill in the about 70 lines of code in the Program.cs file. Run and enjoy!

Member Avatar for ddanbe
2
404
Member Avatar for tiredoy

I just wrote a simple code.Since it have no warnings or error attentions from the VC compiler,it TOTALLY doesn't work! What I wonder is whether the problem is due to the sequence of complying as well as how to figure it out. ------------------ Here is the code [CODE]#include<iostream> using namespace …

Member Avatar for tiredoy
0
168
Member Avatar for angelineang

i got no idea how to correct the error,can help me? this is a chem quiz that contain 20 question but i need to random everytime 10 question,other than this,also have a calculator,& mini games [CODE]#include<stdio.h> #include<math.h> #include<stdlib.h> #include<time.h> #include<windows.h> int main (void) { int option,question,i,count,z=0; char choice,game,quit; int selection; …

Member Avatar for Ab000dy_85
0
286
Member Avatar for newbie14

Dear All, I have a function with input parameter as const u_char *p. So when I write like this printf("\n\n Char value p : %.2x",(unsigned int)p[1]). It gives me a hex value. How to print the whole p value which method is best to use. I need to analyse it …

Member Avatar for newbie14
0
438
Member Avatar for jodzjcm

I have this code: Note: boom.ok[1][0] has the character "a" while boom.ok[[tempr[0]][0] contains the string "ay". [CODE]if ( strcmp(&boom.ok[1][0],&boom.ok[[tempr[0]][0]) == 1) printf("Hello"); if ( strcmp(&boom.ok[1][0],&boom.ok[[tempr[0]][0]) == 0) printf("Hello");[/CODE] None of these statement prints hello. Why?

Member Avatar for Ab000dy_85
0
91
Member Avatar for sridhar.selva

[CODE]#include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <termios.h> int main() { int fd; int wd=0; unsigned char buff[] = { 0x02, 0xFA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x23, 0x01, 0x21, 0x03}; fd = open("/dev/ttyS0", O_RDONLY | O_NOCTTY | O_NDELAY ); if (fd == -1) …

Member Avatar for Ab000dy_85
0
259
Member Avatar for dlmagers

Ok, The problem is that when I execute this program (C++) what ever numbers I put into the answer slot it is given me the answer to the numbers of what ever I choose whether it would be Add, Subtract, Multiply or Divide as a Sum and not Difference or …

Member Avatar for Ab000dy_85
0
110
Member Avatar for jimmyraay

Write a program that finds the factorial value of a given number as shown. Display an appropriate error message if the number entered is negative, or too big for the answer to be correctly calculated. Enter a non-negative integer : 5 5 x 4 x 3 x 2 x 1 …

Member Avatar for livinFuture
0
285
Member Avatar for singularity~

I have an integer called: int pID = 0; Inside my while loop I'm using pID++; to increment it. Sometimes the pID doesn't get incremented and sometimes it will. My sample output would be. 0 1 2 2 2 3 4 5 5 6 7 Does anyone have an idea …

Member Avatar for singularity~
0
235
Member Avatar for shean1488

Hi everybody, I wasnt sure were to post this message, and I post it here. So I'm a CS major student, and I do have a pretty good knowledge of java, far away from college. Just what to ask people who works in the software industry about their job. I …

Member Avatar for shean1488
0
206
Member Avatar for Snow_Fox

I need to take in a sentence and break it up based on the individual words. I've been googling for probably 30+ minutes to 60 ish and I feel it's time I get some help on this one.. Ideally, there should be a way to break up a string possible …

Member Avatar for Snow_Fox
0
247
Member Avatar for chuyauchi

I have problem on my program. Can anyone help me to fix it and explain to me a little bit? [CODE] #include <iostream> #include <iomanip> using namespace std; void displayResult(); void welcomeMessage(); void game(); int main() { welcomeMessage(); displayResult(); displayResult(frequency, expected, intRepeats); } // end main void welcomemessage { cout …

Member Avatar for Ab000dy_85
0
119
Member Avatar for kahheng93

This is my code: it works,but when the user answers correctly until question 7,the question 8, 9 , 10 will be skipped and goes to result instantly,can someone tell me whats wrong?i been looking it trhough for hours >.< thanks [CODE]void hangman (void) { int wrong =0; int answer; char …

Member Avatar for Ab000dy_85
0
125
Member Avatar for nuclear

I'm trying to use Box2D lib with SDL lib. NOTE that I only get the errors below after I link in SDL too. I think i link everything accordingly but in the end when I write up some code i get errors like: 1>------ Build started: Project: box2d test2, Configuration: …

Member Avatar for Ab000dy_85
0
535
Member Avatar for ruval002

ok so first of all my following code its suppose to read input from user and seperate the strings into commands and arguments.For example if i input changeDir hello , the tokenizer(which i already implemented) will split it and put changeDir into tokens[0] and hello into tokens[1]. Now what im …

Member Avatar for ruval002
0
158
Member Avatar for mechanicallogic

I simply cannot figure this program out (nor why I am going in debt paying professors to "teach" me). Our assignment begins with reading a data from a file and storing it in an object array and then displaying the contents of that array. When I compile the program in …

Member Avatar for Ab000dy_85
0
221