• Home
  • .Net
  • Database
  • Programmer
  • Microsoft
  • Software
  • Network
  • Excel
  • C & C++
  • Visual Basic
  • Windows

Tags: Programming, C, C++

C & C++

  • Help me catch mem corruption in DOS app
  • I have a 16 bit dos app written in C. I do not have the source for the whole program - there are stubs which are called, and i generally write code for the stubs.Theres a global var which is getting corrupted very occasionally. I`ve pored over the source code i do have, and can see nothing which...
  • Help me code a small programming exercise? File descriptors...
  • I need to do this exercise, but am having problems.I need to write a program that firstly, sleeps for 5 seconds, then readsa line of input from file descriptor 0 and then writes the line back tofile descriptor 1.Apparrantly, this program would block forever unless you type a line oftext on the k...
  • Help me compile this code
  • please help me comile the code in this link.http://www.vbforums.com/showthread.php?s=&postid=1848152#post1848152...
  • Help me convert this, its easy!
  • hello all, I need to convert this code to VB6, could anybody please help me!its this function:#define BITS_PER_CHAR 8unsigned short updcrc (unsigned short ch, unsigned short crc){ register short counter = BITS_PER_CHAR; register short temp = crc while (--counter >=...
  • Help me converting this C++ code to VB! (Very important)
  • Hi..I found a script made by C++ at PSCode.com that grabs the Factory Hard Drive Serial Number.. So I want to convert it to VB.. It is a short code as I think for you :)But before.. check if it is for the Factory Serial or the Volume serial..I'm new to C++ so I hope you will help me..I atta...
  • Help me correct this struct definition please.
  • Here is a header file:// Struct.h#include <string>using std::string;#ifndef asdasdadstruct Elmt;typedef Elmt *pointer;#endifstruct Elmt{ string word; pointer next;};but when I tried to use it, the following happened:error C2011: 'Elmt' : 'struct' type redefinitionI...
  • Help me debug
  • Can someone help me debug this simple loop program , that basically accumulaesinput values thru a infinite loop and terminates when u enter a zero or a-ve number.#include <stdio.h>#include<iostream.h>int main(){int nValue; //user input valueint nAccumulator; //counter for accumulat...
  • Help me debug my homework
  • I've been trying for the last few hours to get my homework assignment to compile with no luck. There were a lot of errors I've successfully cleaned out, but there are also a lot that don't make any sense to me - g++ is telling me that variables passed into a function aren't decla...
  • Help me declare the function
  • Sorry ...but is it possible to help me to declare my function, i can't find a way... I'm sure it's gonna be easy for you...Thanks#include <iostream.h>#include <math.h>void input(double []);void average(double [],double , double );void standdev(double [],double , double...
  • help me design a messenger like meebo.com
  • hi there my name is ritesh, i am trying to design messenger in yahoo ,and msn , like one on meebo.comcan any one help me by ging me any idea how it can be done......
  • help me design a messenger like meebo.com
  • hi there my name is ritesh, i am trying to design messenger in yahoo ,and msn , like one on meebo.comcan any one help me by ging me any idea how it can be done......
  • help me design a messenger like meebo.com
  • hi there my name is ritesh, i am trying to design messenger in yahoo ,and msn , like one on meebo.comcan any one help me by ging me any idea how it can be done...
  • Help me design my scheduler
  • Anyone know of a reliable design for a Windows C++ Task SchedulerClass.The scheduler will expose a member function that will add schedules,its parameters will be an interval to run the tasks and a functionpointer. This function pointer will be a void* function in otherobjects that will use the s...
  • Help me design my scheduler
  • Anyone know of a reliable design for a Windows C++ Task SchedulerClass.The scheduler will expose a member function that will add schedules,its parameters will be an interval to run the tasks and a functionpointer. This function pointer will be a void* function in otherobjects that will use the s...
  • Help me DialogBox key trape like VK_HOME
  • i have a simple program with a dialog box and in a dialogbox a edit controlwhich require Customer Name and when customer name edit control has input focus and user press home key a list box open below edit control with full of customer name but i dont know how to code VK_HOME in dialog box i know pr...
  • Help me find a good typedef name for the following type
  • Hello, got an odd question. I need a good typedef name for the type:std::vector<std::vector<std::pair<std::string, std::string> Even with using-statements to get rid of std:: it's simply too long andmakes for keeping lines within a length of 80 columns cumbersome.I am using an o...
  • Help me find a good typedef name for the following type
  • Hello, got an odd question. I need a good typedef name for the type:std::vector<std::vector<std::pair<std::string, std::string> > >Even with using-statements to get rid of std:: it's simply too long andmakes for keeping lines within a length of 80 columns cumbersome.I am u...
  • Help me find this STUPID problem!
  • THIS DOESN'T WORK :mad: :mad: :mad: :mad: :mad:#include <dos.h>#include <conio.h>void setVESA(int mode){ union REGS i; i.x.ax=0x4f02; i.x.bx=mode; int86(0x10, &i, &i);}int main(void){ setVESA(0x101); getch(); return 0;}It's the simplest little thing, bu...
  • Help me find visual C++
  • Hey is there is anyone out there, i have searched high and low and i needto get the Microsoft Visual C++ for my c++ programming class i would be verythankful, im desperate!!!!...
  • Help me find whats wrong with my code
  • Hello,I'm trying to write a lexer and I'm having a problem. My code runs without errors but doesn't give the result I want.It is supposed to give back the result like the following when it read a sample file.My code only reads the first character # and stops...Can somebody help me?Tha...
  • Help me finding errors
  • Please someone Help me in finding errors.I got declaration syntax error while compiling...Please do find the zip file attachments to this thread...Thanks in regards...
  • Help me fix this control to show AM/PM time, not 24 hour time
  • I have the c++ source code for a dayview control that displays 24 hour time on the control; 01, 02, 13, 14, (like military hours). I would like to change the display time to show 12 hour AM and PM time. Can anyone help with finding where the code is that sets up the 24 hour display time, and the...
  • Help me for App.Compute Time -urgent
  • I have a code, where I should compute the App.Compute Time, for n=1,5,10,20,30,40,50.Is there any GOOD EXPERT that can make this clear to me ? If yes than PLease write hereThe code is:Code: ( text )#include <iostream>using namespace std; int fib (int n) { if (n<3) return (1...
  • help me for design
  • Hi .Please give me advice for design of classes.I have.class ObjectBase{RuleObjectBase *p_rule // pointer to rule ......public:RuleObjectBase(RuleObectBase * p_r);virtual int check()=0; // give this(pointer) to RuleObject to start check process for this.}I need to check Object for list of rule...
  • HELP ME -GCC COMPILER
  • I am trying to compile Gcc compiler in Windows O/S.I have downloadedentire source Code of this compiler at tries to run it in DEVCPP but Iam gating some linker error and some header files missing error.Anyone please tell me how to run GCC compiler in Windows m/c and Linuxm/c....
  • HELP ME -GCC COMPILER
  • I am trying to compile Gcc compiler in Windows O/S.I have downloadedentire source Code of this compiler at tries to run it in DEVCPP but Iam gating some linker error and some header files missing error.Anyone please tell me how to run GCC compiler in Windows m/c and Linuxm/c....
  • help me get started
  • Could someone suggest a problem for me. I need to write a small pogramm inC++ to disply use of menus, loops etc.thanx...
  • Help me get this to work
  • I made a new topic because i am concerned with getting this to work completely now more than just controlling the loop properly( even though that might be the only thing preventing it from working correctly).Once again the prompt for this is basically the following:There is a square pipe with a seco...
  • Help me here
  • I need a way to get a webpage to show up in my app, not a link or button, just to load right in my app, if any can help, that would be great, also, does any 1 know where to get a de-compiler at?...
  • Help me hide my classes
  • Hi,My textbook says: "Defining a function in the class definition (the *.h file)is bad policy because:1) the client will be able to see the implementation2) they must recompile if the function is changed.This suggests that I "hide" my function implementation code by precompilingthe *.cpp files but d...