132,726 Archived Topics
Remove Filter ![]() | |
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 | |
I'm posting the specs. I still can't figure it out but I'm trying. Software Development java | |
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++ | |
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 | |
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 | |
[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 | |
![]() | 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++ |
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 | |
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 … | |
[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 | |
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 | |
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 | |
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++ | |
[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++ | |
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 | |
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 | |
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 ![]() | |
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 | |
#[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++ | |
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++ ![]() | |
[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++ | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 … | |
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++ | |
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 | |
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++ | |
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. … | |
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 ![]() | |
[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++ | |
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 … | |
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 … | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
HI!!! Which statement is for clearing of a part of screen,of course if exist? Software Development c++ | |
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 ![]() | |
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++ | |
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++ | |
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 | |
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++ | |
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++ | |
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 |
The End.