199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
[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); … | |
![]() | 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 : … |
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, … | |
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 … | |
Hey, I am in need of some help from a person who is willing to do so! I am trying to start up a website called FireLighters which will be a Christian website geared for teens. Right now we are in the process of getting a [URL="http://negativecelsius.com/clients/FireLighters/preview4.html"]design done[/URL], and have … | |
Can it be done? I'm thinking along the lines of :hover.. :visited etc; Could I register my own psuedoclasses? ;) X.Y:Z would be handy for situations where X.Y isn't definitive enough, and X.Y#Z wont work because there's more than 1 Z-type thing on a page. Using Javascipt to bind objects … | |
[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 … | |
Whats an easy way could i display an image in a win32 program? (bitmap,gif,whatever) | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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. | |
Hello are there any scripts/how do i go about achieving this... I need to have a thing where users fill out a form and then it sets them up a phpbb installation on my server and the sql db etc... just like fantastico in cpanel does! Is there anything out … | |
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 … ![]() | |
Hello, will you help me write some code to generate random-colored ellipses for an html page? The ellipses will serve as a side-bar coloration for the regular text content. Each successive image will have an increasing z-index and will overlap each other. I am having trouble figuring this out as … | |
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 … | |
#[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 … | |
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 … ![]() | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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), … | |
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: | |
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 … | |
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 … ![]() | |
[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++] … | |
[COLOR=seagreen]its a task dat's very difficult...i have to create my own prog. lang. for finals...can anyone plz help me?:eek: [/COLOR] | |
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) … | |
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 … | |
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. | |
Hi Guys, I'm having a bit of problem with my reports. I've got a report containing a subreport which has some headings in its report header. The subreport normally goes for 2 or 3 pages. The headings of the subreport appear on the first page but do not appear on … | |
this code will not load on my localhost, but gives no errors. Will you load this and see if it will work: [code] <style type="text/css"> <?php $count = 1; function divs() { $int = rand(6, 30); while ($int <= 31) { $t = rand(1, 99); $l = rand(1, 99); $w … | |
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 … | |
I have a HTML file that displays properly in Firefox, but Internet Explorer only shows a blank page. [url]http://www.cmbl.uga.edu/software/phxpa.html[/url] What could be the reason? :?: | |
Hi Y'all I would be grateful if anyone could help put together a similar page to: [url]http://www.possessedrecords.com/home.html[/url] please access gallery. Also is there a way of doing it in Flash perhaps, or even html? And what is the best code for a back button? Best regards Catherine | |
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 … | |
HI!!! Which statement is for clearing of a part of screen,of course if exist? | |
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 … ![]() | |
[B]hi all,iI design database by sql by using visual studio 2005,i need to have pdf or any refrence guide to know how to write select,insert, delete statement ,could you help me[/B] ![]() |
The End.