132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for lazysloth

hey i wanted to start a tomagatchi clone project with vb.. im having problems with it... cann't get it so that as time pass( every 1 minute) that the hunger,boredom, and need to poop increase i tried to use the timer but i cant get it down... an example would …

Software Development vb.net
Member Avatar for lazysloth
0
123
Member Avatar for nanacat

I'm posting the specs. I still can't figure it out but I'm trying.

Software Development java
Member Avatar for peter_budo
0
106
Member Avatar for CurtisBridges

Here's a better explantion. Thanks! This part"A" is already finished: A). Create a menu with the following options, (1) Add, (2) Update, (3) Delete, (4) Sort, (5) Print, and (6) Quit. Create an array of 10 strings up to 25 characters long and initialize each one to "none". Each item …

Software Development c++
Member Avatar for CurtisBridges
0
103
Member Avatar for sneekula

I have a color data file that gives the color name and its RGB values, for instance like this: [CODE] red RGB(255,0,0) green RGB(0,128,0) blue RGB(0,0,255) brown RGB(165,42,42) gold RGB(255,215,0) maroon RGB(128,0,0) [/CODE]I like to create a color dictionary from this file that looks like this: [CODE] {'red': (255,0,0), 'green': …

Software Development python
Member Avatar for sneekula
0
194
Member Avatar for dev.cplusplus

Hi I to all I have the following question, I hope you can help me: I need to store variables, in diferent variable types, but I want to know for example the size of the int type what size of number I can store, I found that int can store …

Software Development c
Member Avatar for jbennet
0
88
Member Avatar for wheelz

[code=c] /// // Program; Project2.cpp // Date; // Purpose: // Description: // Input: // Output: // Use: This program is compiled and executed using // Microsoft Visual Studio C++.net 2003 Version 7.1 #include "stdafx.h" #include <iostream> // access input/output stream. #include <string> #include <cctype> using namespace std; int StateNumber(char, char); …

Software Development c++ microsoft-access visual-studio
Member Avatar for Ancient Dragon
0
118
Member Avatar for GreenDay2001

I use Visual c++ 6.0 enterprise. However, for few days i am not being able to build any program due to some linker error. I am getting following message, [code] --------------------Configuration: main - Win32 Debug-------------------- Compiling... view.cpp winmaker.cpp control.cpp Linking... LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Debug/main.exe : …

Software Development c++
Member Avatar for Ancient Dragon
0
94
Member Avatar for h3ngh3ng

Hi guys, Currently I am developing a window forms application using VB.NET. Yet, I have a problem in forms navigation. The problem is : Now I have created 3 forms. Let say form 1, form 2 and form 3. Now, I want to navigate from form 1 to form 2, …

Software Development vb.net
Member Avatar for h3ngh3ng
0
102
Member Avatar for webspy

I'm developing a simple address book application which displays it's entries in a listview control. The entries are loaded from a file and stored in a array. My problem is I can't find a way to link the listview with the array (assign each item in the listview an ID …

Software Development c++ listview
Member Avatar for Ancient Dragon
0
315
Member Avatar for krauz2

[COLOR=#941edf] [COLOR=#555555]Hello everyone,[/COLOR] [COLOR=#555555]This is my first java class and I am trying to understand the terms and different types of programs. I finished my program as an application then did it as a gui without realizing it had to be in a applet. It feels like I just learned …

Software Development gui java java-swing
Member Avatar for masijade
0
104
Member Avatar for chunkmartinez

Whats an easy way could i display an image in a win32 program? (bitmap,gif,whatever)

Software Development c image
Member Avatar for chunkmartinez
0
85
Member Avatar for jan1024188

ok here is window [CODE]#include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "jan birsa"; int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nFunsterStil) { HWND hwnd; /* This is the …

Software Development c++ data-structure queue
Member Avatar for jan1024188
0
136
Member Avatar for kumarangopi

Guyz Iam happy to say that i moved little.Iam able to run the exe file without header files.It just needed egavga.bgi graphic drive.So i have to copy my exe file and egavga.bgi to other system to make the exe work.My point is i want my program to create egavga.bgi dynamically …

Software Development c
Member Avatar for WaltP
0
291
Member Avatar for mattyd

Hello: Something as seemingly simple as an If\ Else statement is causing me much trouble and I cannot figure out where the error lies. I believe it to be in:[LIST] [*]The variable scope [*]The use of the static variable [*]Or, the misplacement of curly brackets (something that has a tendency …

Software Development c++
Member Avatar for nanodano
0
238
Member Avatar for CurtisBridges

[COLOR=#008000]//I need to modify this code by changing the sort function to make it recursive [/COLOR] [COLOR=#008000]//and add a recursive binary search that prompts the user to enter a search item.[/COLOR] [COLOR=#008000]//I have added some code for the search, which I will mark with[/COLOR] [COLOR=#008000]// :mrgreen: commented out on previous …

Software Development c++
Member Avatar for CurtisBridges
0
83
Member Avatar for Matt Tacular

Here is my code: [php]# search for a file, and show all files found in that file's directory # delete them if wanted import os import pickle def file_find(folder): """search for a filename fname starting in folder""" for root, dirs, files in os.walk(folder): for file in files: # make search …

Software Development python
Member Avatar for sneekula
0
161
Member Avatar for b_friendly

write aprogram in java to generate 1 to 100 random integers numbers store in an arry then display all those numbers which are prime numbers please help me how to amke this program thanz.

Software Development java
Member Avatar for jwenting
0
148
Member Avatar for YoTaMiX

Hello to all the Readers , I am trying to create a Multi-Table from 10 Numbers given by a user. I cant figure it out why the Multitable isnt shown correctly. I tried to enter the 1-10 numbers to get the result we all know and still nothing good came …

Software Development java
Member Avatar for iamthwee
0
301
Member Avatar for octopus1991

hey guys i need your help please really urgent can u give me visual basic codes for 1- a program that calculates the greatest common divisible(divisor) by only (while) statement ...plz guys ! only while or if statements ! 2- a program that prints the following nubers also by only …

Software Development visual-basic
Member Avatar for QVeen72
0
122
Member Avatar for CurtisBridges

#[URL="http://www.gidforums.com/showpost.php?p=52405&postcount=13"][B][COLOR=#0000ff]13[/COLOR][/B][/URL] [URL="http://www.gidforums.com/t-12089.html?page=2#"][IMG]http://www.gidforums.com/images/buttons/reputation.gif[/IMG][/URL] [IMG]http://www.gidforums.com/images/statusicon/post_old.gif[/IMG] 10-[URL="http://www.gidforums.com/member.php?u=10954"][COLOR=#8c6239]allican57@yahoo[/COLOR][/URL] [IMG]http://www.gidforums.com/images/statusicon/user_online.gif[/IMG] vbmenu_register("postmenu_52405", true); New Member [IMG]http://www.gidforums.com/images/gid/ranks/rank1_5.gif[/IMG][IMG]http://www.gidforums.com/images/gid/ranks/rank1_5.gif[/IMG] Join Date: Sep 2006 Posts: 21 [IMG]http://www.gidforums.com/images/reputation/reputation_pos.gif[/IMG] Nov-2006, 15:17 I need to modify this code by changing the sort function to make it recursive and add a recursive binary search that prompts the user to enter a search item.I have …

Software Development c++
Member Avatar for Salem
0
134
Member Avatar for taruj83

I have this program but need to adjust a little bit. At first it asks to enter an expression but I can only enter it in this form -> 7*(23-2)+10 but i want to enter it like this -> 7 * (23- 2)+ 10; therefore the program should ignore the …

Software Development c++
Member Avatar for iamthwee
0
125
Member Avatar for kumarangopi

[COLOR=#000000]Does we need turbo c software to run turbo c exe file?[/COLOR] Hmmm sounds wierd! I wrote a program called chart.c in turbo c which is two header files like bimap.h ,xyz.h.When I compile,chart.exe is created.when i run chart.exe in some other machine, its not running unless tc sofware and …

Software Development c++
Member Avatar for kumarangopi
0
183
Member Avatar for foxy xx

ok guys i have 2 problems 1st - i am using textpad and i'm having problems with the compiler.. As advised i have dowloaded a86, i added it to textpad through the configure tab on the menu and choosing prefernces, tools, add and clicking on the a86 program icon.. i …

Software Development assembly operating-system
Member Avatar for Ancient Dragon
0
103
Member Avatar for PieMan2004

Greetings, Ive came across problems while doing a tutorial work piece. i've to design a toobar ( yup a JToolBar ) with 5 buttons inside it, that will do certain functions for a JSlider.( set them at certain values ) Its simple enough to go and write 5 buttons into …

Software Development gui java java-swing
Member Avatar for jwenting
0
99
Member Avatar for aismm

Basically the user enters one of the following + - * / % | < > c q followed by one or more spaces, followed by an integer, and then the newline key to get the answer and the current vaule is set to 0 then it keeps on adding …

Software Development c
Member Avatar for WaltP
0
146
Member Avatar for astrojith

Well, first of all, I'm astrojith. I'm new here at Daniweb. So, hello all of you :cheesy: !! . Now, to my question. In school, I'm being taught programs which all use "void main()". But, I've seen a lot of code using int main(). I asked my teacher about this …

Software Development c++ ide
Member Avatar for chunkmartinez
0
496
Member Avatar for denzal2006

Hi I'm trying to use "IBM PC Keyboard Scan Codes" in Pascal which involve Decimal Pair and/or Hex Pair codes. (similar to ASCII). Could someone please tell me how to use these in VPascal. Preferably not Turbo Pascal, but any Pascal version would be appreciated! A 'code' example would be …

Software Development pascal
Member Avatar for yashar
0
269
Member Avatar for JRM

I have been using Codeblocks, but I think I need to better understand what the "project" concept is all about. My original assumption was that it was a group of source, header and object files that pertained to a particular project. I'm discovering, however, that the IDE doesn't like more …

Software Development c ide
Member Avatar for manutd
0
183
Member Avatar for compshooter

I am just trying to print out my array of binary values from 0 to 15. The output I get is wrong, very very wrong. Can someone take a look at my code and enlighten me? [code] #include <iostream> #include <conio.h> using namespace std; int binA[16][4] = { (0,0,0,0),(0,0,0,1),(0,0,1,0),(0,0,1,1), (0,1,0,0),(0,1,0,1),(0,1,1,0),(0,1,1,1), …

Software Development c++
Member Avatar for compshooter
0
132
Member Avatar for paradoxxx

Hey all, I have an array of uppercase letters, mixed with other non-alphaitalic charcters. I need to keep a frequency of the each of the uppercase letters, and how many other characters entered. JONN:sad:

Software Development c
Member Avatar for John A
0
236
Member Avatar for merck120

I am currently working on a program in C, that needs to calculate the permutations of a n integer array. The approach that I have taken is using recursion, using a n-element array of counters incrementing the correct value each recursion, so the subroutine calls itself x (x being the …

Software Development c++
Member Avatar for merck120
0
364
Member Avatar for bucsoldier03

i had to make a program that avereage the scores of test grades and displayed the highest grade made and also the lowest grade made and the test average. it also showed the number of vaild scores to. after making the program i have to convert it to C language. …

Software Development c++ ios
Member Avatar for pigeonfoot
0
1K
Member Avatar for dguzai

dear all, i have a problem in creating a triangle custom cursor in my paint program. i had tried to use a GIF file type of triangle shape but nothing happened. could anybody please help me? below is the paint program thank you in advance. package org.me.hello; import java.awt.event.*; import …

Software Development java java-swing
Member Avatar for iamthwee
0
123
Member Avatar for kipl20

[COLOR=#000000]hi i am a beginner in c++ and have these shapes( in the attached word doc) to do using for the for the first set for loops, the second while loops and the third set do while loops. i already have done the first 2 shapes [/COLOR]with[COLOR=#000000] this code:[/COLOR] [code=C++] …

Software Development c++
Member Avatar for ~s.o.s~
0
265
Member Avatar for Oxiegen

Hi, guys! Got a problem here. :) I have a form that when it loads spawns a thread which in turn fills a publicly declared dataset with a table by a dataadapter and then binds a field from the table to a combobox. [code=vb]combobox1.DisplayMember = "fieldName" combobox1.ValueMember = "fieldName" combobox1.DataSource …

Software Development dataset mssql vb.net
Member Avatar for Oxiegen
0
191
Member Avatar for snedan

I need help with following algorithm: Initaliaze a counter at 2; So long as the counter is less then or equal to number; if the counter divides the number evenly; //<<==problem display the counter; else add one to the counter; ------- so i just cant figure how to check: "if …

Software Development algorithm c++
Member Avatar for WolfPack
0
104
Member Avatar for MarkWalker84

Hi everyone. Im having some real head-ache inducing issues with my code. I want to update a statictext label to display the value of a slider bar. Simple enough? Here is my code... [CODE=python]Speed_Slider_Panel = wx.Panel(Automatic_Control_Panel) Speed_Slider = wx.Slider(Speed_Slider_Panel, ID_SPEED_SLIDER, 0, 0, 10, style = wx.HORIZONTAL | wx.SL_AUTOTICKS) Speed_Slider.SetTickFreq(1, 1) …

Software Development python
Member Avatar for vegaseat
0
334
Member Avatar for maximus1074

I have a text file which has 7,000 data in it and i want to read the rows from file and then check it with the columns if it has right attribute or not.I don't want to write every row.I just want the line below to work from file .I …

Software Development
Member Avatar for TylerSBreton
0
121
Member Avatar for Santa_Laws

Hello, I'm a bit new to Java and I'm wondering how to do arrays with JTextField, so how would i go about starting this program here.. [COLOR=#000000]Build a GUI to accept integers (when the ENTER key is depressed) into an array of 15 int; have a button called AVERAGE; when …

Software Development gui java
Member Avatar for jwenting
0
112
Member Avatar for sneekula

When do you use a for loop and when to use a while loop. Are there other loop types in Python? Some of the slicing examples almost look like loops.

Software Development python
Member Avatar for fireworks-style
0
189
Member Avatar for newbie2c++

Hi everyone! So I can't seen to get this program to compile and run. THis is exactly what I'm shooting to do: This program should calculate which division in a company had the greatest sales for a quarter. It should use the following functions: [LIST=1] [*]A function should ask the …

Software Development c++
Member Avatar for John A
0
192
Member Avatar for Barefootsanders

Hey guys. I have a problem. I have to read in 2 arrays from 1 file. I know how to read in an array with known elements but this time the number of rows/columns are in the file. The first line has the dimensions of the array(rows columns) then the …

Software Development c++ file-system
Member Avatar for ~s.o.s~
0
112
Member Avatar for bokim

HI!!! Which statement is for clearing of a part of screen,of course if exist?

Software Development c++
Member Avatar for WaltP
0
135
Member Avatar for anti_genius

Hi, Can someone tell me how can i edit the color of a pixel in a bmp image. The actual scenario is that i have a white bmp image and i take input from the user. If user enter 'A' the i have to edit the white color pixels in …

Software Development java
Member Avatar for iamthwee
0
117
Member Avatar for confused!

Hello all! I'm having trouble with my homework assignment - I've been working on it for hours and have gotten it down to one syntax error and then I think it will compile so I can move on, I just can't seem to figure out what the problem is. Here …

Software Development c++
Member Avatar for Salem
0
99
Member Avatar for balgarath

I just started messing around with classes and have been trying to figure out this error for an hour or so. Here is the compiler error: [code] g++ player.cpp tictactoe.cpp TicTacToe.h:15: error: expected constructor, destructor, or type conversion before ';' token player.cpp:26: error: 'TicTacToe' has not been declared player.cpp: In …

Software Development c++
Member Avatar for Salem
0
156
Member Avatar for JRM

hello all, I moved a source file from a cgywin file to codeblocks. The file compiled and ran just fine in the cgywin environment. However, the same file under codeblocks complains about an undefined reference to winmain. error: [code] Project : Console application Compiler : GNU GCC Compiler (called directly) …

Software Development c
Member Avatar for Salem
0
76
Member Avatar for mozira

Hello everyone,I am Mozira and live in South Africa.I am currently doing visual C++ for the first time using Borland C++ builder.So i would gladly appreciate it if you could help and guide me with tutorials about visual C++.hope to hear from you soon

Software Development c++
Member Avatar for Salem
0
173
Member Avatar for pedz

If NOT_WORKING is defined, the following program gives me linker errors: /usr/bin/ld: Undefined symbols: Definer<int, 1>::d Definer<int, 2>::d Definer<int, 3>::d Definer<int, 4>::d collect2: ld returned 1 exit status But if NOT_WORKING is not defined it compiles and runs. I can't figure out: 1) Why those things are not getting instanciated. …

Software Development c++
Member Avatar for pedz
0
108
Member Avatar for l2u

Hello Im working on a huge server on windows and im not sure what approach for multiclients should I use.. I know multithreading is not good, so I've been using non-blocking sockets until now (1 thread), which has limitation but this can be easily changed.. I wondered what do you …

Software Development c multithreading windows-server
Member Avatar for WolfPack
0
76

The End.