199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mona1nine

[code=c] #include <stdio.h> #include <string.h> struct courses{ char coursenumber[10]; float credit; float grade; }; struct courses list[2]; main() { int i; int count; printf("Enter number of courses to input: "); scanf("%d", &count); for (i=0; i<2; i++) { printf("Course number: "); scanf("%s", list[i].coursenumber ); printf("Credit: "); scanf("%f", list[i].credit); printf("Grade: "); scanf("%f", …

Member Avatar for Aia
0
92
Member Avatar for mauro21pl

Hi I'm playing with a simple class. Looks like everething is fine, my compiler doesn't give me any error but there is no display on the screen. Can anyone tell me what did I miss? thanks [CODE] #include <iostream> #include <conio.h> using namespace std; class BankAccount { public: BankAccount(int dollar,int …

Member Avatar for mauro21pl
0
101
Member Avatar for zandiago

“Write a C++ program (use multi-dimensional arrays) that uses an array structures (size 8) to store the following information on a company’s 8 divisions: Division name (such as East, West, North, South, Northeast, Northwest, Southeast, and Southwest) First Quarter sales Second quarter sales Third quarter sales Fourth Quarter Sales Fourth …

Member Avatar for iamthwee
0
355
Member Avatar for pokemon123

I'm using visual studio for the program. When i prompt the user for date like is this format -dd/mm/yyyy . For the program how do i use the data for just the year only not the whole input?

Member Avatar for iamthwee
0
238
Member Avatar for Ainur

There is a task: Imagine you have been asked by the Physics department to create a Java program to help them record information about experiments they are running on a particle accelerator. Each type of particle is uniquely identified by name, and has a mass (a decimal number between 0 …

Member Avatar for Ainur
0
132
Member Avatar for lamees

Hi, everybody. I've made a code of a "for" loop. Once i exceeds 4, the loop must stop. The input is in a JTextField. The problem is that the loop never stops although it exceeds 4. Can anybody help me? The problem is here : public void compare(int x) { …

Member Avatar for Ezzaral
0
138
Member Avatar for mastan

[code=cplusplus] #include <iostream> #include <string> using namespace std; enum SquareState { (blank = 's', X = 'X', 0 ='0') }; class gameBoard { private: const int WIDTH; const int HEIGHT; int* GameBoard; public: gameBoard(): WIDTH(3), HEIGHT(3) { GameBoard = new int [9]; for (int i = 0; i < 9; …

Member Avatar for Salem
0
114
Member Avatar for TheGathering

I'm using wxDev-C++ to write an auto-clicker program that I'm hoping to release as FOSS one day. I wrote some really neat algorithms that I tested in Java to be implemented my project so it can be used in games and such as that. (It's not school work, just something …

Member Avatar for TheGathering
0
131
Member Avatar for sfd

Hello! I need some quick help please :-) I have a php form that when a user submits sends an email with there details to us, but then also sends an email to the user, saying thank you for your email etc... I have configured the form and the email …

Member Avatar for sfd
0
67
Member Avatar for bergy_nj

hi i've been trying to parse the argument using getopt i need to have it to be able to handle argv[0] logfile (i ment to take the following argument after argv and put it in variable - like listed in the usage part) but i coudnt get it to work …

Member Avatar for BearofNH
0
219
Member Avatar for shuvo

I want to create new table in Access database during the runtime of my VB code. I am developing a "Library Management System" using VB6. At first i have used SQL statement to do the job. But it worked for once & then it stopped working. No error message was …

Member Avatar for dalwadijayen30
0
1K
Member Avatar for mastan
Member Avatar for mastan
0
103
Member Avatar for mayur_kulkarni

[B][I][U][B][I]i am looking for a java project . i am in final year .[/I][/B][/U][/I][/B]

Member Avatar for masijade
0
97
Member Avatar for Anna ms

Hi, I'm newbie here. I just noticed that HR control panel have no feature to check and repair MySQL database if the database got corrupted. I knew CPanel have this feature and I guess the HR control panel look similiar like CPanel (CMIIW), but no feature for Check and Repair …

Member Avatar for macneato
0
100
Member Avatar for Ta1da

Hi i just started learning C++ & we were given homework to write code that will show names numbered to six and display the longest name entered. i have managed to show the names going in numeric order just can't display the longest one. Thanks for any future help... (Also …

Member Avatar for Salem
0
1K
Member Avatar for dmotah

hi, im using msaccess as database. can u plz tel me how to delete records using vb (it should serch nad delete) tkx

Member Avatar for epok13hart
0
127
Member Avatar for ankitrai

I have defined some classes which are giving a linker error like the one in the subject. could anyone provide some info on the error, I have understood it has something to do with the virtual table but am not able to figure out what. what makes it more harder …

Member Avatar for ankitrai
0
60
Member Avatar for NewbieTJ

Here is a code I have been trying to finish but can't. I'm very new to this as you probably know by my other post but this program has been giving me a fit. I feel like I have hit a brick wall and it bothers me because I know …

Member Avatar for Aia
0
99
Member Avatar for ashneet

Hi I made a function which is suppose to send email, only problem is that I can send the email but its blank so can anyone tell me what I am going wrong. [code] //Function that send multipart emails function email2($TO, $PREMADE, $FROM = false) { //headers for emails //create …

Member Avatar for cereal
0
183
Member Avatar for MidiMagic

How can I get JavaScript to display values and attributes when they are written to input boxes by the script, instead of waiting for a rather lengthy (10 sec) calculation to finish? - IE does not change the boxes at all, until after the script finishes. - FF displays the …

Member Avatar for MidiMagic
0
1K
Member Avatar for JRM

hello all, I am trying to compile this canned example in QT4 , but the compiler spews out an error messagethat I have never seen before. The *.cpp file: [code] #include <QtGui> #include "finddialog.h" FindDialog::FindDialog(QWidget *parent) : QDialog(parent) { label = new QLabel(tr("Find &what:")); lineEdit = new QLineEdit; label->setBuddy(lineEdit); caseCheckBox …

Member Avatar for vijayan121
0
205
Member Avatar for seanw

Hi, I am having a strange problem with a simple process. Heres the code. [CODE] bool areNumbers = true; bool Anything = true; int numBytes = 1; long inCrem = 0; while(gPlacerID != tgPlacers[inCrem]->GetPlacerTypeID()) { inCrem++; if(inCrem == tgPlacers.size()); { Anything = false; break; } }[/CODE] This code is part …

Member Avatar for seanw
0
110
Member Avatar for vjw757

Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/xxxxxx/public_html/index.php on line 1 Parse error: syntax error, unexpected T_CHARACTER, expecting T_STRING or T_VARIABLE or …

Member Avatar for digital-ether
0
775
Member Avatar for tech291083

Hi, I have been trying to learn java on my own on Linux from command line. Can any one please give me a few very basic samples of code that ask the user for an input (interger/double/float/string all possible data types)? I have downloaded the official Sun Java tutorials but …

Member Avatar for indienick
0
372
Member Avatar for ellenski

hi, i'm supposed to create a very simple address program in C & not in C++. my program works but my problem is how to "search & edit a record" and how to "search & delete a record", that is what i lack. this program is really giving me a …

Member Avatar for Aia
0
167
Member Avatar for suresh_nsnguys

Hi, i am new member to this forum. i am trying to solve this problem from past 2 days.but i can't able to acheive it. i able to capture single mouse click over flash(<Embed> object) using onactivate event handler.But it is supported by IE. i want some event in Firefox …

Member Avatar for ~s.o.s~
0
162
Member Avatar for pop007

Hello all, I got problem to write program concerning in money deposit into bank. i.e : money = 100$, month = 3, interest = 3%/month here we got : 1- Enter money into bank = 100 2- Enter month = 3 3- Total amount = 109.27 4- Total interest = …

Member Avatar for Bench
0
100
Member Avatar for sevdiaz

Hello, I need some content management recommendation which can update easily for 1. news or events 2. image gallery thanks before

Member Avatar for autocrat
0
88
Member Avatar for ultra vires

Hi guys, i am new to java so i started of with basics, but now im stuck at a little problem. I will paste the code and error's below, hoping that some1 could sort em out [code=java] import java.lang.*; import java.io.*; class Sphere{ float radius; int cXcord; int cYcord; int …

Member Avatar for ultra vires
0
88
Member Avatar for sillyboy

Hi, I'm trying to use a double click action on a input field. It works fine on firefox, but doesn't work on ie7 saying the object doesn't support the action. My action so far is just an alert box (for testing purposes), is this a known compatibility issue?

Member Avatar for sillyboy
0
135
Member Avatar for Ainur

Dear all Could you tell me what is it-atomic type in Java? I explored internet and book Java in 21 days,but nothing about it. The question was about difference between object reference and atomic type. I found that object reference is an address that indicates where an object's variable and …

Member Avatar for jwenting
0
158
Member Avatar for lollerskates

Hi, just wondering if anyone knows where I could get a tutorial or even just sample code of a delphi application writing an XML file? I've tried google (obviously) but had no luck. Thanks!

Member Avatar for lollerskates
0
170
Member Avatar for stackOverflow

Hi, I want to update the database from a flexgrid. Is it possible in VB 6.0? I came across an article where it said.. its not possible. But there was a way to do it ... by placing text boxes on the cells of the grid and making those text …

Member Avatar for stackOverflow
0
75
Member Avatar for NewbieTJ

Hi I'm very new to this world of programming and am having several difficulties. I'm trying to practice a lot and become more accustomed to everything but I've only been doing this for about five weeks so I'm sure know it's usually a slow start. I would like to build …

Member Avatar for Aia
0
145
Member Avatar for Ainur

Hello everybody! I am a beginner in Java and computing at all. I need to make some tasks if you help me,please. So, the first taks is: Write down what is stored in s2 after the following Java code has been executed: String s1= new String("Hello"); String s2= new String("The …

Member Avatar for ~s.o.s~
0
149
Member Avatar for piers

I was reading through my java book which is called Introduction To Java Programming Sixth Edition by Y.Daniel Liang and I was reading about databases. I just wondered if java is used in webdesign for the purpose of creating databases and if that was instead of MySql and what the …

Member Avatar for jwenting
0
101
Member Avatar for kodiak

I would like to make a MUD in C++. So...=) I need to know how i would program it so that other players could attack, see, and trade with each other. I'm gonna host it on my computer, or maybe a remote shell account, so my friends and i can …

Member Avatar for Bench
0
141
Member Avatar for asilter

[code] /* One file can be hundreds of MBs. So, 640 MB in maximum*/ int nMaxByteCount = 64000000; [/code] I read files to get binary info in it. But I don't know the exact sizes before reading. So, I allocate nMaxByteCount for large files first and get support from fread …

Member Avatar for Salem
0
104
Member Avatar for mikeandike22

I want to make like a loading page that shows a progress bar and then displays an enter button so they can enter the website. Something with an ajax like look.

Member Avatar for mikeandike22
0
72
Member Avatar for m-soft

Hello, I try to read a xml file with this schema: - <item> <title>some text</title> <link>link</link> - <description> text ok <br /> I can't see this text </description> <imedia:thumbURL>link</imedia:thumbURL> </item> When I write: echo $rss_channel["ITEMS"][$i]["DESCRIPTION"]; I can see text ok, but from <br /> I can't see nothing. I tried …

Member Avatar for digital-ether
0
174
Member Avatar for kishorJagtap

Dim conn As New SqlConnection(connstr1) Dim sql As String sql = "Select * from address1" 'Dim da As SqlDataAdapter Dim cmd As New SqlCommand(sql, conn) conn.Open() Dim ds As New DataSet() da = New SqlDataAdapter(sql, conn) da.Fill(ds, "Address1") maxrows = ds.Tables("Address1").Rows.Count inc = -1 conn.Close() 'If next_record <= maxrows - …

Member Avatar for manal
0
172
Member Avatar for elanch

hi Friends! i need to open a pdf documents from MsAccess. Please send me the code. Then i need to create a BROWSE button such that BROWSE_BUTTON Text_box When i click the browse button it should work as ordinary windows browse button and when i select some files, the "File-Path" …

Member Avatar for AV Manoharan
0
292
Member Avatar for sasindagi

hi, i wanted to send 2 different email that is 2 different email address,with to different messages in asp.net c# 2.0. by using Cc i can send to different email Address but how to different messages

Member Avatar for sasindagi
0
163
Member Avatar for danielbasten
Member Avatar for Salem
0
62
Member Avatar for JC4QLx3

I am new to DOM and need a little help. I have opened a named page with window.open. Later when the user clicks on the link from the parent page that was used to open the child window, they are confused because they think the function doesn't work. Of course, …

Member Avatar for ~s.o.s~
0
180
Member Avatar for piers

hi I am new to this forum and new to using php. Everyone says it is really easy and so far so good until I was trying to display pictures based on the selected option from a drop down menu. so I have 3 options: dromidary bactrian mollie I have …

Member Avatar for piers
0
142
Member Avatar for DeathEvil

I have no problems connecting strings but if I follow the same procedure for chars then the program blows. [CODE]void Input_Code(char *d1_p, char *d2_p, char *d3_p, char *d4_p, char *d5_p, char *d6_p, char *d7_p, char *d8_p, char *d9_p, char *d10_p, char *full_code_p) { char buffer[12]; printf("Please enter 10 character account …

Member Avatar for Aia
0
97
Member Avatar for irotsenmar

Can someone assist me on creating this program? Thank you. create a program that will allow you to calculate the following: 1) The average gas mileage of a car 2) The range of a given car 3) The cost of a given trip 1) Create a Car.py file that will …

Member Avatar for jrcagle
0
113
Member Avatar for venu@baylogic

Hai friends, Please help me that how can i solve this problem, how can i include AJAX in PHP,Can u tell me that how can i configure system for AJAX.

Member Avatar for phper
0
161
Member Avatar for no1zson

This is the last thing I am doing to my app, and I saved the hardest for last. I have been out here all week beating you guys to death with questions, so if I do not get any replies at all I will understand. I do not need this …

Member Avatar for no1zson
0
109

The End.