132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SteveDB

Hi all. I am seeking to learn how to link my drag/drop GUI's to the code I wrote for a program from some 9 years ago. I.e., I have Borland, and MS's Visual Studio 6. I used both-- at different times-- to create a program, and was able to use …

Member Avatar for Necrolis
0
691
Member Avatar for manavsm

PLZ HELP ME WITH THIS CODE...I HAVE GIVEN THIS CODE SO MANY TIMES BUT NOBODY IS ABLE TO CLEAR MY ERROR.... 1.DISPLAY IS NOT COMING ONLY LAST VALUE I ENTER IS DISPLAYED 2.DELETION OPETATION .............AND YES I WANT TO USE LINKED LIST....IF ANY 1 KNOWS IT TELL ME............. [ICODE] #include<stdio.h> …

Software Development c linked-list
Member Avatar for Luckychap
0
148
Member Avatar for zyaday

Hello, i'm using a Jpanel, I am using an image as background . On top of that i want to put buttons on it. The problem is I cannot repostion the buttons? can anyone help me here!!??

Software Development java
Member Avatar for zyaday
0
108
Member Avatar for dr_kac

Hello everybody! As I thought I became more comfortable with data structure I've got the problem I can't solve. It looks so: I have that kind of text file: ABCD vvvv 1e-12 ABCD hhhh 1e-6 ABCD ggggg 1e-3 ASDE ffffff 1e-57 ASDE dddd 0.001 etc. I would like to read …

Software Development data-structure python
Member Avatar for paddy3118
0
191
Member Avatar for Aamit

Here is my file text file data Tree Bush Apple Mango Animal Dog Animal2 Cat [code] #include <stdio.h> #include<conio.h> #include<string> #include<iostream> #include<fstream> using namespace std; int main() { FILE * pFile; char mystring [100]; char mystring2[100]; char ch; int i=0,j=0; pFile = fopen ("c:\\List.txt" , "r"); if (pFile == NULL) …

Software Development apple c++
Member Avatar for mitrmkar
0
110
Member Avatar for hemendra.jadaun

can anybody solve this problem.. Linking... gdtopng.obj : error LNK2001: unresolved external symbol __imp__gdImageDestroy@4 gdtopng.obj : error LNK2001: unresolved external symbol __imp__gdImageCreateFromGd@4 Debug/gdtopng.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. gdtopng.exe - 3 error(s), 0 warning(s)

Software Development c++
Member Avatar for mitrmkar
0
50
Member Avatar for darkis

hello there, i was hoping someone could help me figure out why my program isn't compiling. Its a polynomial math program i put together...and with my function "MathPoly" //'d out it compiles just fine....It continually tells me that variables are undeclared and the compiler is crapping out on line 51 …

Software Development c++
Member Avatar for stephen84s
0
177
Member Avatar for reyev

Hi everybody! I need to split my path, let's say' "C:\path1\path2\path3\path4" into separate strings... Not sure how to do that, I've tried os.path.split / splitdrive etc. but it always give me just 2 arguments I need to get "C:\path1" from this path string for example, which would be the root …

Software Development python
Member Avatar for reyev
0
139
Member Avatar for AceChandra

Hello all! So im taking a C++ class and I'm supposed to make a grade book program that will take in 6 programs grades and 2 test grades, then multiple the average of each by 50% and add them together for a letter grade... So that was the first project …

Software Development c++
Member Avatar for darkis
0
85
Member Avatar for Alex Edwards

The problem resides below - I'm trying to make a directive command that disable one constructor definition, or the other, based on the parameter of T. When I uncomment the block around the if statement, I get this error-- [ICODE]... missing binary operator before token "(" [/ICODE] --but when I …

Software Development c++
Member Avatar for Alex Edwards
0
230
Member Avatar for lahom

hi i have aquestion i really need an answer for it because it frustrated me... [B]look at these two functions:[/B][CODE]void CSecondDlg::OnButton1() { //**BROWSE DIALOG 1**// FILE *fp; FILE *file1 = fopen("file1.txt","w"); //Create txt file for saving editbox content int nFileLong; //***********************************************// char strFilter[] = { "CPP Files (*.cpp)|*.cpp|All Files (*.*)|*.*||" …

Software Development c++
Member Avatar for Ancient Dragon
0
295
Member Avatar for dlayante

hey guys...please help me with this project, I just need to create a Basic DLL Proxy (Proxy INTEROP DLL) create DLL in C# and use it in Visual Basic 6.0 Please give me codes and step by step instructions in making it... Thank you...You're a big help!!!!

Software Development visual-basic
0
244
Member Avatar for manoj gangula

hai this is manoj. i am doing mca 5th semester and i need to do mini project .iam interested in doing project on c++.can iget suggestions regarding which project will be better to do. thanku

Software Development c++
Member Avatar for manoj gangula
0
52
Member Avatar for tirso

Hi to every body, I want to make an application that having a lot of buttons, such as payment, view info, deliquent, reports, edit etc. In vba I already created by creating each button to call an individual form, like payment I made (frmpayment), for view info(frmview), for deliquent (frmdeliquent). …

Software Development vb.net
Member Avatar for tirso
0
118
Member Avatar for govind_kishan

I want 2 convert a C prog. into HEX code. We are using microcontroller IC AT89C52.

Software Development c c# c++
Member Avatar for jephthah
0
110
Member Avatar for jesseb07

hello, been googling this for a while and can't come up with anything good, so hopefully this won't be so easy to answer that it makes me look lazy. I'm writing an application for linux (gcc compiler) that calls various system and custom commands from inside my own program, nothing …

Software Development c++ file-stream
Member Avatar for jesseb07
0
157
Member Avatar for Alex Edwards

Does anyone have an website they would recommend to me for learning Regex? I have tried using the Sun's tutorial on Regex as well as the Pattern and Matcher classes that use Regex but I am not quite understanding it. I'd like to use it to return the String values …

Software Development java regex
Member Avatar for sciwizeh
0
128
Member Avatar for thehype2049

Here is my question Write a command line program titled joinTextFiles.cpp that concatenates the contents of several files into one file. For example, the following command line [B]joinTextFiles chapter1.txt chapter2.txt chapter3.txt book.txt[/B] will create a long file titled book.txt that contains the contents of the files chapter1.txt, chapter2.txt, and chapter3.txt. …

Software Development c++
Member Avatar for thehype2049
0
95
Member Avatar for Paul Tobias

Okay so I'm trying to learn the basics of C++ from a book which is I think, well I know, a few years old. I already came across a couple of problems; Firstly the <iosteam.h> thing, which can technically be rectified by using -wno- deprecated in my djgpp compiler, but …

Software Development c++
Member Avatar for Paul Tobias
0
231
Member Avatar for jessamyryan

I am trying to code a program that will generate six random lotto numbers, and then the two supplementary numbers. And not to generate the same number twice. I'm new to pascal, so I understand if you don't want to create a whole code for me but could you at …

Software Development pascal
Member Avatar for alvisonhunter
0
1K
Member Avatar for oneohthree

I am trying to construct a 2 way paging with PIC Basic and two types of microcontrollers PIC16LF84A and PIC16F88. I have two parts of my system, a sensor node and a transponder. The sensor node has a 434 MHz transmitter (TLP-434) and a 315 MHz (TLP-315) receiver(RLP-315). The transponder …

Software Development assembly
Member Avatar for e.demente
0
177
Member Avatar for ulrik04

Hello :) I'm making a (new :P) game in C++, and in the beginning of the file, I'm initializing an array like this [code] int tower_dmg[5][3]; int tower_spd[5][3]; int tower_eff[5][3]; int tower_efc[5][3]; int tower_cst[5][3]; [/code] And later in the program, when loading images and initializing a lot of stuff, i …

Software Development c++
Member Avatar for ulrik04
0
132
Member Avatar for mstarmatt

Hi, Im trying to check a value in an .xml file, the value is 'c:\Temp\MyApp.asmx' but may be different each time so i need to be able to check <WebServiceURL> value and return the value in VB6. Any help or simplified code would be appreciated. <?xml version="1.0" standalone="yes"?> <Data> <Ver> …

Software Development visual-basic xml
Member Avatar for mstarmatt
0
94
Member Avatar for ShellB12

Hi. I've searched the daniweb question database, and was not satisfied with solutions I found there. I have a string that looks like this... "100 1.745329252 0.984807753 -0.173648178 -5.67128182" not exactly words, but I want to select say, the third "word" of this string (0.984807753) into a variable. The whitespaces …

Software Development c++
Member Avatar for ShellB12
0
110
Member Avatar for Superfat

I know about using ran() to create a random number between x and y, however i am creating a banking program and i am wondering how to randomly generate a 17 digit pin, then store the pin in an outside file, then have the program check the file for the …

Software Development c++
Member Avatar for tesuji
0
171
Member Avatar for acediamond

I am a first year IT student cramming my last assignments in before the monday afternoon deadline. I am battling with a problem that looks like this: I have to create a program using the case statements to choose a winner from rock, paper, scissors and count the wins,losses,ties to …

Software Development c++
Member Avatar for VernonDozier
0
268
Member Avatar for fishwater00

[code] #include ”functions.h” typedef struct { int x, int y, int z; }Model; int main() { Model PARA[100]; PARA=malloc(sizeof(struct Model)); myfunction(int A, int B, int C, PARA); return: } [/code] In another file, I define “myfunction”: [code] void myfunction(int a, int b, int c, Model *para) { a=b=c=10 ; /*can …

Software Development c
Member Avatar for fishwater00
0
106
Member Avatar for kavithabhaskar

Hi I have a prob with my code. This way I get to see all the fields in table1 in the grid view but they hold no values! :( if u can help me make changes in this code..it will great! Imports System.Data.oledb Public Class Form1 Dim con As OleDbConnection …

Software Development dataset open-source sql vb.net
Member Avatar for tuse
0
905
Member Avatar for amit1701

hi everybody, these two codes returns pointer to an object declared and defined within the function. yet both of them prints the correct value of the variable c in main(the values of variable c should have been destroyed when the call is over.). the first code gives the warning. but …

Software Development c++
Member Avatar for Jishnu
0
130
Member Avatar for Dajak

Hi, i got a program that is using the Me.Visible = False and i need a hotkey. The problem is the &YourHotKeyhere name on a button dont work when the form is not visible. MVH Dajak

Software Development visual-basic
Member Avatar for selvaganapathy
0
80
Member Avatar for x_calibur

Hi, I'm having a problem understanding this thing. Suppose I have a function that returns a generic value. Inside I have "try" and "catch" statements for exceptions. Now once those exceptions have been detected, what and I mean in the name of Jesus butt-hole is my function suppose to return? …

Software Development c++
Member Avatar for Alex Edwards
0
117
Member Avatar for knight fyre

I'm trying to create a client/server setup that allows two clients to communicate with each other. The problem is that when I run the application the the message does not go to the send client, only to the server. Here is the source code. Class MorseServer [CODE=java]import javax.swing.JTextArea; import javax.swing.JFrame; …

Software Development client-server java java-swing
Member Avatar for Jishnu
0
232
Member Avatar for ruchika beddy

hey,Frnds I Have tried the Fill. Code,But the Foll. Code returns the no. of charcters of the File,But i want the File Size on Disk in KB. Can u Plz help me out. Imports System Imports System.IO Dim filelength As Long = 0 Dim objfile As New FileInfo("D:\Documents and Settings\Administrator\Desktop\URLs[1].txt") …

Software Development vb.net
Member Avatar for Jx_Man
0
631
Member Avatar for KJBB

I create an array of 16 text boxes, etc in code. I need to detect which one is clicked. I have created an event handler for each that points to the same handler routine for all 16 for(int box = 0; box < 16; box ++) { txtArray[box].Click += new …

Software Development
Member Avatar for KJBB
0
293
Member Avatar for Ellisande

Back with another question concerning my RPG. I had the idea to do a multi-dimensional array to represent a map, with each element in the array being it's own square, Depending on where you are, you can move in any of the 4 directions, unless you are on an edge. …

Software Development c++
Member Avatar for Ellisande
0
253
Member Avatar for ibe123

Below is my problem... I think section 1-3 are okay, but I am having problems with sections 4-7, Any help would be great. I also need to load these from a file... I just loaded the array by initializing the values as I thought I could start there check my …

Software Development c++ ios
Member Avatar for joshmo
0
122
Member Avatar for henpecked1

This one actually tells me visual studio has a problem and needs to close this code. I'm sure it's in the insert/write section, but I'm not sure what I did wrong. I'll post the rather simple cpp below it. [code] #include <iostream> using namespace std; template <class T> class list …

Software Development c++ visual-studio
Member Avatar for henpecked1
0
135
Member Avatar for tirso

In my forms I have a tab control containing two pages, in tabpage1 (list view) tabpage2 (gridview) and a several buttons. my problem now is how to know that if the user hit a button then locate the active control or tabpage eaither tabpage1 or tabpage2. I intent that the …

Software Development vb.net
Member Avatar for tirso
0
98
Member Avatar for selvaganapathy

Hi Friends, I've chosen my mini project as Voice Recognition. basically i dont have any idea about voice recognition except Microsoft Speech SDK. It is well for english language, but i dont know how to use this for my language (Tamil - South Indian Language). Is this can be applicable …

Software Development vb.net
Member Avatar for Jx_Man
0
135
Member Avatar for henpecked1

If you grab this code and run it, you'll see what I mean. The second half doesn't run, and when I can get it to run, it's all completely wrong. I'm trying, but I'm tired and just want to get it done...lol. The encrypt and decrypt are a separate cpp …

Software Development c++ encryption
Member Avatar for henpecked1
0
112
Member Avatar for Dajak

Hi Everybody, Im making a kind of notepad in VB 2008. But the problem is ive maked an Form whith a trackbar and a Buttton, its supposed that the trackbar should be the opacity value. The trackbar is changed to rigth to left, It comes no errors it just wont …

Software Development vb.net
Member Avatar for Jx_Man
0
229
Member Avatar for Black Magic

Hey, my dad was checking the "lotto" results so that inspired me to make a little program of my own, i accomplished that just got a problem.. [CODE=C++]#include <iostream> using namespace std; int main() { srand(time(NULL)); unsigned int lotteryBall; for(int i = 0; i <=7; ++i) { lotteryBall = rand() …

Software Development c++
Member Avatar for VernonDozier
0
183
Member Avatar for Kadence

Can getc()/putc()/fgetc()/fputc() be used to read/write chars and floats rather than ints only from binary files? If so, how?

Software Development c++
Member Avatar for Kadence
0
230
Member Avatar for karthick01

Hi , Im very new to shell scripting. In our office we use both Linux and Windows platform. We have internet connectivity. The gateway is 192.168.1.1 There is no monitoring tool for us. Im using a Linux machine with fedora 8. I wish to monitor that gateway. I want to …

Software Development shell-scripting
Member Avatar for eggi
0
135
Member Avatar for jbooth952

I have a VB6 app that uses access 2007 for the database tables. I packaged it with the package and deployment wizard and installed it on a Windows XP home edition machine that does not have any MS Office apps. My program could not open and read the database. What …

Member Avatar for jbooth952
0
153
Member Avatar for Ellisande

I'm having this weird issue with a text based RPG I'm trying to create. I'm fairly new to C++, so I thought having a project that I can work on and expand as I learn more would be a good way to put what I have been reading about into …

Software Development c++ legal
Member Avatar for Ellisande
0
127
Member Avatar for anuragatiiith

hey guys ..im new to javascript .. i hav a validation function which alerts by showin error ..bt wen der is no error i want to continue to my next form ..ie a html page ..i tried to check on error bt stil its nt redirectin .. . waitin for …

Software Development html-css java javascript
Member Avatar for anuragatiiith
0
121
Member Avatar for SteveDB

Morning all. Hope everyone has great weekend. Once I get done posting this I'll be digging yet another hole for my spinkler system, and hopefully finishing off my drip system for more backyard. Ok.... Onto my issue. After a week of struggle to find out why I kept getting errors, …

Software Development c++ visual-studio
Member Avatar for SteveDB
0
833
Member Avatar for henpecked1

If this is the original class: [code] class StorageBin { public: StorageBin(); ~StorageBin(); void PutInBin( int Item, int Location); int ReturnFromBin (int Location); bool FindInBin(int Item); void DisplayBin(); private: int *pBin; int NumberInBin; int BinSize; }; [/code] Would this be the correct conversion to make it a template? [code] Template …

Software Development c++
Member Avatar for Alex Edwards
0
241
Member Avatar for wcmport

This is the code I've written for a homework assignment - however in the footer for Cases B & D I have no idea what I should have for coding to get the correct count - any help/comments is greatly appreciated! /* as long as actual birthday has occurred life …

Software Development c++
Member Avatar for VernonDozier
0
116

The End.