199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dell XPS

i have Visual Studio 9 , 2008 and have published a program but it doesn't work on PCs that don't have Microsoft .Net Framework 3.5 installed. is there any way to make the program work without having to install the .net framework on the pc?

Member Avatar for Jx_Man
0
271
Member Avatar for Natethemad

I am becoming a game coder and i need to to know what kind of programs in school i should take. I am not sure exactly i am just working on simple codes now i want to know how to increase my education in this field. Any suggestions for me?

Member Avatar for naina_gill
0
310
Member Avatar for tekivia80

I NEED HELP WITH A BIRTHDAY PROFILE IN C++ I have to create three classes: Person,birthdate, and date. Create seperate .h and .cpp files to seperate the implementation from the interfaces. 2. Create a list of attributes and operations for all the classes. 3. Implement the methods,attributes, and constructor for …

Member Avatar for Ancient Dragon
0
129
Member Avatar for c++ newbie

this is what my program looks like but after prompting and reading my files, i get an infinite loop. the program compiles and i just put that simple cout statement just to see if anything will come out. can anyone see where i am messing up within my main that …

Member Avatar for Ancient Dragon
0
160
Member Avatar for sjgriffiths

I have the following file 1928282,Stephen LTD,31280938,L34 3128398,Stephen LTD,84327489,L34 I want to uniq on fields 2 & 4, the fields are comma seperated I cant figure out how to do this....any ideas? im pretty sure uniq does not support this

Member Avatar for eggi
0
75
Member Avatar for henpecked1

I'm having a little problem with a conversion error during compile. Here is the code: [code] #include <iostream> using namespace std; class costOfItem { public: costOfItem(float i_cost); void printMe(); private: const float price; }; // Free functions void displayPrice(costOfItem z) { z.printMe(); } void displayRefPrice(costOfItem &z) { z.printMe(); } void …

Member Avatar for dougy83
0
129
Member Avatar for compumasta

[code=c++] struct if1 { string idnum;//id number for the student string lastname;//last name of student string firstname;//first name of student int examscore[maxexam];//array of all the exam scores of the student int hwscore[maxhw];//array of all the home work scores of the student }; void alphasort(if1 student[], int n) //the alphasort function …

Member Avatar for compumasta
0
935
Member Avatar for Jennifer84

I am trying to check the size of a file with this code. The file is named "OneFile.txt" and is of the size 230 kb. The MessageBox will show the number 37. If I change the file so it will be 460 kb instead, still the messageBox will show the …

Member Avatar for Jennifer84
0
174
Member Avatar for OmniX

I use an array for the first time in a while loop without declaring it(as php does not need it) [code=syntax] $variable_array[] = $fetch_array['column']; [/code] As the while loop is repeating it increases the number of the array. Am I doing this right? Should I have before the loop some …

Member Avatar for OmniX
0
122
Member Avatar for Seamus McCarthy

[code] #include <iostream> #include <fstream> #include <string> using namespace std; void writeArray(); void readArray(); const int capacity = 4; //const int spec = 4; double numbers[]={12456.89,234.00,3456.78,21212.50}; //string A12345; //string A45678; //string B21223; //string B21435; string names[]={"A12345","A45678","B21223","B21435"}; int main() { writeArray(); readArray(); } void readArray() { ifstream infile; infile.open ("accounts.txt"); infile …

Member Avatar for compumasta
0
100
Member Avatar for Jennifer84

I have a form (Form2) that I want to write text at the top of (In the blue field where you normally can can tell what the windows/forms name is) I thought it should be like this but I cant find "Form2" after this-> What I can find is Form2_Load …

Member Avatar for William Hemsworth
0
99
Member Avatar for n1337

Hey all, I have recently become interested in trying to automate various MS Office applications using C++... I was writing some macros in Excel to update some databases that I work with, and decided it would be cool if I could sort of wrap the entire process in a C++ …

Member Avatar for n1337
0
315
Member Avatar for Stearmandriver

Hi all... great forum! I'm basically on a crash self-learning course in Coldfusion and database-driven sites, so I'm pretty sure I'm missing some basic concept that would make this an easy query. If anyone could point me in the right direction I'd really appreciate it. This is for a site …

Member Avatar for MidiMagic
0
125
Member Avatar for markindallas

I'm a novice to Access and am learning using Access 2007. I've created my tables and established their relationships. I've created the forms using the wizard. I'm attempting to display summary data on a form but am not having any success. I have a SKU table and form. I have …

Member Avatar for MidiMagic
0
94
Member Avatar for DebT37

Hello all! I hope everyone is blessed and wonderful! I am in a quandry :?: , I have a form that I need certain people (3) to have full rights to edit/update/enter the data and then I have everyone else (approx 40) to be able to view only the information …

Member Avatar for MidiMagic
0
94
Member Avatar for fox51

hey there i have a question for you guys. my program reads a file and then save each line of the file into a multimap<string,int> containing the string and the number line. i have the convert strings in alphabetical order, like take into aetk, and thats where the problem begins …

Member Avatar for fox51
0
165
Member Avatar for BinaryAssassin

Hey all, I'm currently writing a program that will do various things with dates. The problem that I currently have is getting pascal to recognise dates in various formats (eg. 24/09/93 or 09-03-04 or 17 01 99, etc) when input by a user. This data needs to be read by …

Member Avatar for Duoas
0
116
Member Avatar for Jennifer84

I have a dataGridView1. In a datagrid you can manually write columnheader names. (Each Column can have a name) What I wonder is how it is possible to programatically write a name for example column Numer 1 ? I have looked at the memeber of the class but cant really …

Member Avatar for Jennifer84
0
111
Member Avatar for tigger0484

the problem lies when the move checks to make sure it is valid, every move will display valid or not valid, and the code always displays not valid everytime [code=cplusplus] #include <iostream> #include <fstream> using namespace std; int initialmenu(); void initialboard(char board[][8]); int moveoptions();//function prototypes void appropriatemove(char board[][8], int move, …

Member Avatar for Ancient Dragon
0
108
Member Avatar for latour1972

[code=cplusplus] #include #include int gcd (int , int ); void main () { int m, n; cout<<" Enter first integer:"; cin >>m>>endl; cout<<" Enter second integer:"; cin >>n>>endl; cout<<m<<"&"<<n<<" The GCD is:"<<gcd(m,n)<<endl; } int gcd (int x, int y) { if(y==0) return x; else return gcd(y,x%y); } [/code]

Member Avatar for henpecked1
0
137
Member Avatar for wellibedamned

okays... so i'm looking for some kind of a standard algorithm that doesn't take long. i thought going backwards, finding the first space, writing the last word and nulling (is that even possible?) each char, but that doesn't really sound good to me. I've seen some people say you should …

Member Avatar for wellibedamned
0
149
Member Avatar for Jennifer84

I have a checkedListBox1 wich consist of a many lines with text. What I am trying to do is to search trough this checkedListBox1 to see if "Hello" could be found in this box and if it is found, this Item(Line) will be selected. I am not sure what could …

Member Avatar for Jennifer84
0
145
Member Avatar for Onixtender

Hi, This program reads parameters from parameter line : program.exe data.txt result.txt (or somth.) , then takes date from data.txt and writes it to buffer, then program divides buffer to lines , writes to stack, and finally it should pop lines to file, but there is an error doing that... …

Member Avatar for Prabakar
0
139
Member Avatar for Rups``

Hi I am trying to display a table from Access in a Flexgrid. For some reason, the flexgrid only displays the first record from the table and doesnot show any other record! Can someone please help!! Here's the code: Set cmd.ActiveConnection = conn cmd.CommandText = "SELECT WFJob,JobTitle,FLSA FROM Delte where …

Member Avatar for Rups``
0
534
Member Avatar for manzoor

hi can you tell me the anatomy of game in which the player picks a number and the computer must guess what it is. no code just give me a hint or two :D

Member Avatar for Radical Edward
0
96
Member Avatar for ceyesuma

If I have this line in the code[icode]java.util.Collection search = searchQuery1.getResultList();[/icode] Is this a collection of <list>? and can I find out if search should be named"Search" or does it have to be instantiated of something?

Member Avatar for Ezzaral
0
126
Member Avatar for tytyguy

Ok, I have a e-commerce store that uses stored procedures to sort products. I have figured out how to sort my name and price but am having trouble sorting by rating bc the rating table doesnt have all the productids (only ones that have a rating) and also the rating …

Member Avatar for campkev
0
168
Member Avatar for rickarro

I'm trying to get this script to work and it is only giving me a blank white page, can someone take a look at it and see if you can tell whats wrong with it. [code] <?php // Show simple format of the records so person can choose the reference …

Member Avatar for rickarro
0
357
Member Avatar for Mr.Wobbles

I am trying to insert tables into a database that I created at runtime, I am using MS SQL Server Express, and I have tested this query and it works, in the sense that a table is created. However the small text field (stringText [char]) only has a length of …

Member Avatar for campkev
0
155
Member Avatar for s080072

import java.util.*; public class changemakerj { static Scanner console=new Scanner (System.in); static final double PRICE = 10.50; public static void main (String[] Args) { double quantity,tprice,amtpaid,change1,chg$10,chg$5,chg$2,chg50,chg20,chg5,chg2,chg1; System.out.println("Enter the quantity:"); quantity=console.nextInt(); System.out.printf("Total price:$ %.2f.%n",tprice=quantity*PRICE,quantity); System.out.println(); System.out.println("Amount paid:$"); amtpaid=console.nextDouble(); System.out.println(); ; System.out.printf("Change:$ %.2f.%n",change1=amtpaid-tprice,amtpaid); System.out.println(); chg$10=(int)(change1/10); change1=change1 - (chg$10*10); System.out.println((int)(chg$10)+ ":$10.00"); chg$5=(int)(change1/5); System.out.println((int)(chg$5) …

Member Avatar for jasimp
0
154
Member Avatar for kevin wood

is it possible to generate a random number and then use cookies to pass this number to other page? i cannot use session_start because it does not like my code for resizing the images that are uploaded and i cannot use get as the page the the random number is …

Member Avatar for ShawnCplus
0
121
Member Avatar for jp2sql

I've built a small PC app that resides in the Task Bar Tray until one of our employees sends a signal to it with a handheld device. When the PC app is activated, we connect to the SQL Server to retrieve records using Integrated Security on the PC:[code=vb]Private m_conn As …

Member Avatar for Jx_Man
0
98
Member Avatar for kdoiron

I hope people don't mind seeing references to other forums here. I'm a regular at [URL="http://www.python-forum.org"]www.python-forum.org[/URL] but lately I've been having problems with the site. Last week, I couldn't post anything for two days, but that seems to be resolved. Now, I can't even log in. I get a "406" …

Member Avatar for Ferroman
0
144
Member Avatar for veledrom

Hi guys, Both cursor works if i don't use them in one Stored procedure. Both cursors return TRUE for(cursor_x%found). But, insert into process doen't work in cursor_1. Is there any structure problem? Thanks [code] CREATE OR REPLACE PROCEDURE ADD_RENTAL_SP IS -- cursor1 CURSOR cursor_1 IS SELECT ...... rec1 VARCHAR(15); -- …

Member Avatar for veledrom
0
123
Member Avatar for degamer106

When I add buttons to a panel, the buttons seem to take a huge amount of space. How do I get rid of the space? For example: [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Tester { public static void main(String[] args) { JButton dayButton = new JButton("Day"); JButton …

Member Avatar for jwenting
0
183
Member Avatar for blackhawk9876

[code=cplusplus] #include <iostream> #include <iomanip> #include <fstream> using namespace std; void DisplayTitle(); void DisplayBal(double); void GetData(int& , double&); double ProcessCheck(double, double); double ProcessDeposit(double, double); double ProcessATM(double, double); double ProcessSvcChg(double); struct transrec { double credids; double debits; double service charges; }; const double CHARGE = 10, ATMFEE = 2; int main() …

Member Avatar for William Hemsworth
0
181
Member Avatar for info04

I am writing a function which will check if the letter is in upper case , if so it returns true otherwise false. Following is the code, I have written, but what is wrong? #include<iostream> using namespace std; using std::cout; using std::cin; using std::endl; int isUpperCase ( char ); int …

Member Avatar for William Hemsworth
0
111
Member Avatar for coppersony

Hi World! I'd like to get out some data (voice) from WAV files in C#. I have to use the data as a double. I searched for the solution for hours, but I haven't found any useful stuff. :( Could anyone give me any idea how to do that? Is …

Member Avatar for coppersony
0
131
Member Avatar for sch0009

Hi there, I have a data set ([url]http://app.lms.unimelb.edu.au/bbcswebdav/courses/600151_2008_1/datasets/entertainment/moviestats_large.csv)[/url], and i was just wondering the best way of tackling the question stated below: Which director is the most productive? I an new to python and wondering if anyone could help me out a little on this problem. I have considered trying …

Member Avatar for bvdet
0
264
Member Avatar for swaroopk85

Hi All, We have been using http_class in urllib2.py ,_http.py and calling its various methods like h = http_class(host) # will parse host:port h.set_debuglevel(self._debuglevel) h.request(req.get_method(), req.get_selector(), req.data, headers) h.getresponse() I am searching this class in the python directory but I could'nt find any.. DO we need to download this separate …

Member Avatar for swaroopk85
0
100
Member Avatar for yaninea

Hi everyone, I was wondering how to build a treeview from a table in my db witch has the followings fields: RowId, NodeName, ParentNodeId. I will appreciate any help please.

Member Avatar for JerryShaw
0
123
Member Avatar for Oxiegen

Hi, it's me agin. I would like to know if it's possible to customize a tabcontrol, so that I can have the tabpages shown horizontally when alignment is set to left or right. If so, could someone give an example, or a link, of how to accomplish this? I've been …

Member Avatar for Oxiegen
0
360
Member Avatar for veledrom

Hi, Where is the mistake? It doesn't work. thanks [CODE] CREATE OR REPLACE TRIGGER A_ACCOUNT_EKLEME BEFORE INSERT ON A_SIPARIS CURSOR CURSOR_TARIH IS SELECT TARIH FROM A_ACCOUNT where TARIH = SYSDATE; FOR EACH ROW BEGIN IF CURSOR_TARIH%NOTFOUND THEN INSERT INTO A_ACCOUNT (TARIH, PRICE) VALUES (SYSDATE, '1'); END IF; END; [/CODE]

Member Avatar for veledrom
0
121
Member Avatar for acetdmn

You are required to provide an algorithm to operate a cash register that will keep count of all withdrawals and deposits made during a day’s business operation. For simplicity, this cash register will handle notes with the value of $50, $20, $10 and $5 only, and coins with value of …

Member Avatar for n1337
0
597
Member Avatar for arunpawar

It's not homework it is just a play.If you have any simmilar tragic like this one with int and character or float then please discuss it here or explain how things happen.Let this thread be informative. I'm playing with int,floats and type casts but i have found that in following …

Member Avatar for dougy83
0
117
Member Avatar for Maddy1987

[COLOR=#228b22] Coefficients in the expansion of (x+y)^n form a pattern which is useful for small values of n. It is known as Pascal's triangle. n Pascal's triangle 1 1 1 2 1 2 1 3 1 3 3 1 4 1 4 6 4 1 5 1 5 10 10 …

Member Avatar for DevonMcC++
0
445
Member Avatar for uniquestar

Hi, I am using the Microsoft ADO Data Control 6.0 and connectiong to my database using Microsoft Jet 4.0. My fields are being outputted into labels. I have a tex box called text1 and a command button called cmdsearch I wand to be able to search through my database and …

Member Avatar for hell_tej
0
1K
Member Avatar for Xyphereos

Hi I am new to ruby and these forums. I am interested in using Ruby on Rails and was wondering if anybody could tell me any good books that would help me. Also do I need to know any other languages before starting rails. Thanks!

Member Avatar for homehtml
0
93
Member Avatar for hell_tej

Hi, I m new member of 'daniweb' i m a student of BCA 5 in india i m intrested in VB,Oracle,JAVA,Networking so Please help me.... I m creating a project like mobile company! i have problem to create table in ORACLE 9i using VB6. I have some problem to give …

Member Avatar for hell_tej
0
89
Member Avatar for Nithya.G
Member Avatar for majestic0110
0
276

The End.