64,152 Solved Topics
Remove Filter ![]() | |
I need a do while loop in this but when i try to put one in it errors alot could someone show me the proper placement please. i use dev C++ compiler [code] //Login #include <iostream> #include <string> #include <conio.h> using namespace std; int main() { cout << "\tWelcome to … | |
Hey guys. Ive got a problem with a simple hello world script. Im a perl beginner so bear with me. Im running mandriva linux if it matters. Also this file is saved under /home/rysin/documents. Code [CODE]#!/usr/bin/perl print "Hello World\n";[/CODE] When I go into the command line and use the perl … | |
..for manipulation in the main part of the program. Basically Im trying to create a Class function that asks the user to enter in 3 different teams and their nationalities and then redisplay them when the main calls that function. [code=c++] struct squadre { string teamn; string nat; } clube … | |
Hey guys, I'm here once again! I need help for something that is simple, but I'm not getting the results I should be getting! I want my output to look like this: [B]Enter hours worked: 44 Enter pay rates: 10 Hours worked: 44 Pay Rate: 10 This week's salary: 460 … | |
I am trying to create a photo gallery and there are various reasons why I need to create it from scratch. Below is the code for my upload file and I have been building it gradually. I have now added the resize function. I had placed this function in a … | |
is it possible to print the vb for without its title bar | |
Hi there, Im new to this site, and I just have a question of something that I have been trying lately in the C language. I need to put a whole array in a shared memory file (using POSIX). I have no problems putting simple int* in shared memory. I … | |
I need some type of code that does a check, to make sure the the inofmration eneted is text and no numberic data is ented. This is for a name field. I know of the isnumeric check, but is there other ways doing checks similar to that. I'm doing error … | |
I have a count set up in a SQL view set to '*' with the alias set to 'Cn'. I can get the column name with: [code=vb] grd.columns("columnName") [/code] But it does not work when I use the alias... How can I pull use alias instead of the actual column … | |
hi anyone know how to call/run a vb application from a php page | |
hi i have a application where i have a text box when the user enters data in the text box i want the data to be inserted in the db and the value displayed in the same page.something like daniweb post quick reply.i know i have to use ajax but … | |
is it possible to run a vb application using a link in a php page | |
hello can any one tell me how print a specific in windows notepad using userdefined keyboard. like windows xp keyboard it operate like a original keyboard | |
I'm looking for a piece of code I used years ago to reveal a link at a later date. All I had to do was wrap the link in this piece of code and - presto - it revealed on the date and time that I wanted it to reveal. … | |
[B]Background:[/B] Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered … | |
Hello : Is there any idea to add icons inside list box,,,??? Thanks | |
After looking at the same few lines for an hour now, I cannot figure out why the user named input file isn't opening and the user named output file isn't even being created. I used the debugger in visual studio 05 to figure out the input file isn't being opened … | |
I'm trying to write a program that prompts a user for a radius value, then uses class data to return info of a sphere based on that radius. I believe my problem lies in declaring what information goes into what class member, but I'm not entirely sure. How do I … | |
Hi guys, Quick question. Im having some problems with advanced sorting. Say i have the following list: [number] + [text] 3 text_red 7 text_yellow 9 text_blue 1 text_pink 3 text_black 6 text_orange 7 text_white Firstly the list needs to be ordered via the number at the front of the list … | |
Ok below is my display script, though I have no idea how to make an edit script so could someone either make one for me or if thats too much to ask atleast help me make one. [CODE=php]<? $username=""; $password=""; $database=""; $con = mysql_connect('localhost',$username,$password) or die('Error: ' . mysql_error()); mysql_select_db($database) … | |
[code= c++] #include <iostream> using namespace std; int main() { char A,B,C,D; const char capacity = 120; char letter[capacity]; int pax = 0; int y =6; for (int i = 0; i < capacity; i++) { if ( y == 6) { char letter[] = {A}; pax++; break; } else … | |
The following code coincides with an onClick event on my form to move to the next record in a file, but I keep getting the Error Code: 424, object required. I have (3) other buttons on my form: MoveFirst, MoveLast and MovePrevious, but they all work fine. What is different … | |
Hey, I keep getting this error: error LNK2019: unresolved external symbol "public: struct IDirect3DDevice9 * __thiscall Engine::GetDevice(void)" when I try to compile my project. MSDN says that IDirect3DDevice9 uses d3d9.lib, but it still won't work even with that lib in additional dependencies. (using VC++ 2008) I tried linking to a … | |
Hi all, this is my first post here and it comes out of frustration more than anything. I've been searching high and low for any insight into my problem and still can't seem to get it right. In the interest of full disclosure, this is a part of a homework … | |
Hi Im having a problem with the following piece of code: #include <iostream> using namespace std; #define something 33; void main() { if (33 == something) { cout << "equals" << endl; } } Im using Visual C++ 2008 (not Express) and I get 2 errors and 1 warning when … | |
Hello. I need help with a thing. I have a file (sound file) I will send via controller area network and therefore can only send data about 8 byte or 8 vector as data [8]. This is sent away with the command sendfile () And I need help how I … | |
Assembly is one of the least langauges that I havent done, Have heard about it and its complications, but I neva get to know what do u use it for or in which areas does the language alone excel for example C++ is more suitable for games.... know what I … | |
hi i have two tables,i want to display the details in startpost and based on the userid i want to display the username ie i want to print posttitle,date,name using single query please help [CODE] CREATE TABLE `creuser` ( `uid` int(11) NOT NULL auto_increment, `username` varchar(100) NOT NULL, UNIQUE KEY … | |
how can i retrieve photo saved in a folder | |
i need to generate an id card for that i need to display the details such as name etc which must be accessed from a mysql database and now i know how to connect to mysql database and use select statement but dont know how to display the data accessed … | |
Hi, I am working on a database related project for a course. I have decided to use mysql as a database but I cannot decide which web programming language to use. I am trying to decide between asp.net and php, because these are the only two web programming languages i … | |
| |
hi all, this is the same game (if you can call it that yet) that I asked for help with last time (but I sorted it out myself) this time the problem is getting hp off of a monster/character in the combat header Ive already got a damage function that … | |
Hi, i am currently writing a code for a login screen. However I am getting a "run time error 424" object required. I have had very little experince using databases for programming. Any help on how to correct the issue would be greatly appreciated. I am using visual basic 6 … | |
I've been away from sql for quite a well and need a little push to get restarted. Need to report out of a single table, with values coming out of only two columns. Need to group items from column 1 as the left column in the ouput table with totals … | |
Hey, everyone, I am another student seeking help for a programming class. What I am having trouble with specifically is reading from a file. The program itself involves entering in some store products with information such as: product name, product ID, etc. After everything is entered, the program is supposed … | |
Having braved the task that is getting mySQL6.0 installed onto my machine, after listening to the preferences voiced by database users everywhere I was delighted when I finally got down to a bit of a play!!! The problem I found almost immediately, was that a lot of the returned results … | |
im getting an error while using Text1.SetFocus the error is invalid procedure call or argument i used this in the form load and i suppose it is used to bring the cursor in the textbox during form load | |
Hi I have 7 arrays for all containing the same data:time_id, start_time, end_time and colour. Each array represent a day of the week. There are a total of seven columns to display. I have combined them into a three multi dimentional to display data form the 7 layers which are … | |
can i generate an exe file from my c# project so it can run on a pc without .net framework ? i tryed to use the exe file in the bin folder, it's not working even on my pc | |
i just wanted to make a program which reads 5 numbers then writes this 5 number. that's it but i couldn't. something's wrong and i couldnt find what is it. #include <stdio.h> void fun1(void) { int a=0,b=5,c=0; int d[5]; for(a=0;a<b;a++) { printf("%d\n",d[a]); } } int main() { printf("enter 5 numbers"); … | |
[code=javascript] var cBrand = document.getElementById('cBrand'); var cType = document.getElementById('cType'); var cStyle = document.getElementById('cStyle'); var cFrame = document.getElementById('cFrame'); var cGroupSet = document.getElementById('cGroupSet'); if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet)) { alert("Please Choose atleast 2 Criteria"); return false; }else{ return true; } [/code] The above code is not working … | |
Hi folks, I'm just learning C++ (using Borland C++ Builder) and I am having difficulty reading data from a text file created in Excel. I am trying to read the data into vectors which I can then use in a model that I am building. The problem is that I … | |
Hello, I have a function which calculates time for a specific operation and prints the time... However i want to call the time in another function and display its value... The code is as follows:- [code=c++]int encrypt() { double encryptTime,Add,sub,sft,mix; // add + sub + sft + mix calculations encryptTime … | |
hi i have a table i can write to it ok but i need to know the correct syntax to retrieve the last updated record i have been using something like this but it doesn't work.?? $sql = "select * from tblexdetails where intexchangeID='$tid'"; can anyone ive me any pointers … | |
Hello all, I am currently attempting to learn how to program and I am unable to take a class because of my work schedule. I was just wondering if anyone could recommend any books that will help just with learning the basics of programming and not necessarily any one particular … | |
Just a quick question, I am working with classes and I was trying to rename one as an array, ie: [code] addressType addresses[n];[/code] But I have decided not to make it an array. So is this a legal statement? [code] addressType addresses;[/code] Or does that only work for arrays? Thanks | |
My goal is to write a problem that will read in a length in feet and inches and output the equivalent length in meters and centimeters. As noted, There are 0.3048 meters in a foot, 100 centimeters in a meter, and 12 inches in a foot. I am only having … | |
Hi all, I am trying to install MySQL++ on Windows XP and use it. I was able to install it in Linux because the website: [url]http://tangentsoft.net/mysql++/[/url] provided an RPM that built the libraries for you. As far as I can tell, no such thing is supplied for Windows. Supposedly, MySQL++ … | |
Hi, I am working on a project wherein one program writes to a file, but allows a different program to read from that file BEFORE the first program is finished writing to it. In this project, the first program is a game. When someone scores in the game, that activity … |
The End.