199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bhups40

this is my assignment and i also have tried to do this assignment and could not further proceed. please help. i will be very glad to here from you.[ATTACH]5921[/ATTACH] [ATTACH]5922[/ATTACH]

Member Avatar for bhups40
0
119
Member Avatar for lisheen

Hi All I am trying to use VB to access a query in a MS Access Database and pass in a variable to run this query storing the query results in a recordset in VB. I am not very sure this is possible. In other words I am using vb …

Member Avatar for lisheen
0
151
Member Avatar for David Wang

[U]Visual Studio 2005 Windows Forms Application GUI[/U] [B]Form1[/B]:entering name, then log-in [B]Form2[/B]: main interface I want to show the log-in name on Form2 at a certain place. So every time a different person uses the program, it shows the log-in name on the interface. How to pass the input of …

Member Avatar for Radical Edward
0
297
Member Avatar for comjisu33

instruction for quiz Next, write a class Quiz that represents a quiz consisting of true/false questions. This class should have exactly two instance variables: a one-dimensional array of TFQuestions that stores all the true/false questions of the quiz, and an int variable that records the number of true/false questions in …

Member Avatar for thekashyap
0
152
Member Avatar for hjfast

Hey everyone. I am working on my final skills check for my intro C++ class and I am having some trouble. the problem is to take a descriptor and a value and tag it onto the end of a 2D array created in a struct, a la: [code] struct 2d …

Member Avatar for Ancient Dragon
0
92
Member Avatar for baker4

Hi I have been trying for a while to get a toolbar to work with a print function and cannot get it to work. However does anybody know if you can just use a normal button to print the form it is on? If so how?? I have already tried …

Member Avatar for Alekhan
0
125
Member Avatar for want_somehelp

what defines the type of data access that the class members make use of: 1 integer data types only 2 access specifier 3 abstract class 4 float data type only plzz answer the above question iam unable to get it.....and if possible give me reason for it as well

Member Avatar for thekashyap
0
112
Member Avatar for veledrom

Hi, I need a trigger; - to find number 1 from "ID" column and - update "AVAILABILITY" column from Yes to No in "PRODUCT" table. Thanks

Member Avatar for veledrom
0
115
Member Avatar for mizteryq

hi ALL... i'm a new in IT woRLD.. right now i work with PHP, Apache, And MySQL i want to create aplication that already work(use Apache,PHP, MysQL but it stand ALone )being apLication that executable what i want is in the future all that i need is just install the …

Member Avatar for ultra vires
0
132
Member Avatar for camdes

A primary school website I am working on is completely database driven and as part of the site the school wishes a series of photo galleries. For various reasons I cannot use any of the ready made photo galleries. I have managed to write the code for uploading the pictures …

Member Avatar for deepmann97
0
81
Member Avatar for ada829

Hi, I am trying to do some sort of intrumentation inside the assembly code generated by the pentium machine. Particualrly, I need to use some temporary register which can store some value. since x86 has only 6 general purpose registers I am not sure which ones are reused and cannot …

Member Avatar for ada829
0
2K
Member Avatar for kira4

import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; public class EmailSender { public static void main(String[] args) throws Exception { // Establish a TCP connection with the mail server. Socket soc = new Socket("gsmtp183.google.com", 25); // Create a BufferedReader to read a line at a time. InputStream is = soc.getInputStream(); …

Member Avatar for VernonDozier
0
140
Member Avatar for kahaj

The file is being created and it is somewhat working. It works okay if you have the program open and enter like 3, 4, 1. It's supposed to subtract these from 10. It does so, saying that you have 2 hours left. But once it's shut down and you check …

Member Avatar for kahaj
0
108
Member Avatar for daniel88

Hi all, This is my maiden post on not only this forum, but in fact any programming forum so please bear with me. I must say that this question does relate to a piece of homework, but it is the final member function in a series of about 8 and …

Member Avatar for VernonDozier
0
2K
Member Avatar for kaizen202

Hi, all I am downloading a file using webclient class in C#. Can I calculate the downloading speed using any custom PerformanceCounter.Can any one help me. Thanks in advance..

Member Avatar for kaizen202
0
139
Member Avatar for EBC

Hi, I'm a beginner in C++. I have a problem with referencing resources between 2 or more files. This is the main cpp code: [code] #include "stack.h" #include <cassert> #include <iostream> using std::cout; using std::endl; int main() { IStack ist; ist.Push(1); } [/code] and the header file: [code] const int …

Member Avatar for EBC
0
210
Member Avatar for priyamsc

hi, I have gridview in my application . in tat i have some fields as wel as 2 template colum which has linkbutton and check box. i have written coding in GridView1_RowCommand() so it fires for link button properly but when i check the check box it wont fire..where as …

Member Avatar for priyamsc
0
186
Member Avatar for larryeis

Hey, I'm trying to understand how to float a pointer so that the pointer passes decimal places, and i am lost in the sauce. is it supposed to look like this? Thanks in advance. [code] int object1; object1 = 100 ; int object2; object2 = 1000; float *ptr_object1 = &object1; …

Member Avatar for Prabakar
0
94
Member Avatar for winky

I recently downloaded Visual C++ 2008 express edition, and when I tested it out with a simple "Hello World" program, I got the following error: general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. After doing some research, I found out that …

Member Avatar for winky
0
93
Member Avatar for alkeshtech

Hey Guys, So, I am writing a program that reads in from a file, and prints the word and counts the number of lines in the document. Here is the function that is supposed to do the work. Every time I run it lineCount is always 0. [CODE]string getString(ifstream& inFile, …

Member Avatar for Ancient Dragon
0
237
Member Avatar for jozcar@yahoo.co

command.Parameters.Add("@BrandName", SqlDbType.VarChar); command.Parameters.Add("@BrandName", SqlDbType.VarChar,50); The above are two possible ways to add a parameter on SqlCommand, is there any benefit on specifying the value 50.

Member Avatar for jozcar@yahoo.co
0
85
Member Avatar for henpecked1

I've been given an assignment to write code for a sphere class. Now the point of this lesson is really formatting I/O, so they've given some member functions for the class. The problem is I don't know what they are all for. I've included them below and what I think …

Member Avatar for bugmenot
0
152
Member Avatar for saskvach

for home work I have to write a small class that deals with something mathematical it has to have some loops... anyway if u could give me some ideas (not codes) for the theme of my classs anything that would have some loops and is not very complicated i did …

Member Avatar for saskvach
0
61
Member Avatar for himsk8r0

Im trying to make a console app to solve math in order to make things go faster. However, there is an error and it says expected primary-expression before "else" and also says expected ':' before "else". Here's the code: [code] #include <cstdlib> #include <iostream> using namespace std; int main(int argc, …

Member Avatar for himsk8r0
0
90
Member Avatar for sbrown2594

The code below is part of a simple craps game that I am writing for practice. I have the dice rolling down, but I can't get this betting command to work out. The only module that I am really interrested here is the bet1(x) module but I copied the entire …

Member Avatar for woooee
0
118
Member Avatar for xtheendx

In my program i have three sperate vectors that store the students last name, first and score. I need to sort it by last name and print the contents of the vectors lastname, firstname: score. Well i have got it doing that for the most part. But after it sorts …

Member Avatar for xtheendx
0
157
Member Avatar for Erdnase

Hi everybody, I'm working on project to my tutorial, it's called Library and basically it's reading data from text file and inserting it in structure. Output part is String Grid. It should be able to sort books alphabetically, add and delete books manualy etc. I'm using Borland C++ Turbo. Here …

Member Avatar for Erdnase
0
118
Member Avatar for TheWhite

Well, this is my first post on here... I've found your message boards very useful when searching for problems so I decided to register and ask for help on this one since it's a little more specific than what I could find... I've had 3 semesters of programming in college …

Member Avatar for jasimp
0
95
Member Avatar for Black Magic

Hey, I was just wondering if i could write my C++ code on notepad and run it etc? I am asking this because atm i'm at a community centre and on a computer, but not allowed to download anything, so can i? reply asap please

Member Avatar for Ancient Dragon
0
250
Member Avatar for Wza

[CODE=cpp]#include<iostream> #include<string> using namespace std; void main() { char *inputString; inputString=new char[]; cout<<"Enter your string:"<<endl; cin>>inputString; //int stringLength=inputString.length(); int stringLength=strlen(inputString); inputString=new char[stringLength]; cout<<stringLength<<endl; for(int i=0; i<stringLength; i++) { if(inputString[i]>='a' && inputString[i]<='z') { if (inputString[i] != ' ') { inputString[i]=toupper(inputString[i]); cout<<inputString[i]; } else cout<<inputString[i]; } else cout<<inputString[i]; } cout<<endl; }[/CODE] First …

Member Avatar for Radical Edward
0
132
Member Avatar for macrosoft

i'm getting a problem when using cin and cout, for some odd reason it's like I'm not using a C++ compiler. I'm using Microsoft Visual C++ 6.0 and i tried using a borland compiler as well and i get the same error on several different computers. What in the world …

Member Avatar for togayot
0
455
Member Avatar for tondeuse34

Hey guys i'm new here, but i got the basics of python down and i'm having some problems with my code. All i want to do is be able to type in something and have it saved as a txt file, i have tryed numerous things and when i ran …

Member Avatar for tondeuse34
0
117
Member Avatar for neonic75

Hi folks, Small bit of an issue trying to use ObjectInputStream and ObjectOutputStream. I'm tring to write an object of type reminder to a file so it can be opend later. not sure where im going wrong but somewhere. Not used to posting questions like this on forums but if …

Member Avatar for neonic75
0
277
Member Avatar for noraantonia

Hello:) Can you please suggest some good opengl terrain rendering links or books(not to complicated, i am quite a beginner yet). Thanks in advance.

Member Avatar for wtf4096
0
242
Member Avatar for Black Magic

Hey. I get bored so muck around with c++ and i have made this: [CODE=C++]/* My shop program*/ #include <iostream> #include <fstream> #include <conio.h> #include <time.h> using namespace std; int main() { double quantity; unsigned int itemNo; time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime …

Member Avatar for Radical Edward
0
129
Member Avatar for wtf4096

I`m designing a series of classes that are responsible for creation of a lego-style (well, sort-of) 3D meshes. The basic building block of each mesh is a Box. There could be well over 1000 of these Boxes in each 3D mesh. However, my following design looks dirty to me since …

Member Avatar for wtf4096
0
149
Member Avatar for bf2loser

Hi guys, I'm learning python right now, and I'm having a little trouble with one of my assignments. I have to write a program that will take a word and "encrypt" it. an example, if the letter is 'a' then it should get converted to 'b'. I have the code …

Member Avatar for bf2loser
0
111
Member Avatar for ChrisP_Buffalo

I'm trying to modify a find/replace script that I previously got help with here on Daniweb. The script below iterates through a file A and makes replacements defined in a csv file B. My original goal was to change any line in file A containing a search string (in whole …

Member Avatar for ChrisP_Buffalo
0
1K
Member Avatar for elininator

Hi, I am having problems with my forms emailing the inputted content into my emails. It sends all of the rest of my html such as line breaks and everything that is actually in my php code. But it doesn't pull anything from the form. I have double and triple …

Member Avatar for elininator
0
98
Member Avatar for tm5054

[code] #include <string> #include <iostream> #include <cmath> using namespace std; const int findMe (string n[MAXIMUM = 100], double scor[MAXIMUM = 100],) { } int main () { string names[MAXIMUM]; double score[MAXIMUM]; for (int x = 0; x < MAXIMUM; x++) { cout << "Please enter a student name (Enter a …

Member Avatar for Lerner
0
133
Member Avatar for arunkp

friends i need to send AT or ATX commands using c language i tried to write the data using biosserialcom() fn to write to serial port in win XP. but it failed .some error camesayin "16bit msdos subsystem error" my question is whether i will be sucessful if i tried …

Member Avatar for jephthah
0
215
Member Avatar for mussa187

how can i convert an array of char to char? this what i want to do char *argv[]; char i compare and index or argv to i.

Member Avatar for Radical Edward
0
3K
Member Avatar for bodom_lx

Hi everybody, I've got a question for you. As assignment for the dsa course I've got a task regarding an array with cost values stored in each cell. The following is the array: [CODE="C"] int C[5][5] = { {8, 2, 3, 1, 5 }, {0, 6, 4, 9, 7 }, …

Member Avatar for Salem
0
108
Member Avatar for maydhyam

Hi Guys and Gals.... Could anyone help me with respect to why when this email is sent, the hyperlink in the message doesn't work? [CODE] //send email $to = $myrow['FirstName'].".".$myrow['LastName']."@petrotrin.com"; $subject = "TAIS Application - New Randomly Generated Password"; $from = "TAIS Application"; $msg = "Dear User ".$myrow['FirstName']." ".$myrow['LastName']." (".$empNo."),\n\nYou …

Member Avatar for maydhyam
0
155
Member Avatar for rampicos

#!/usr/bin/perl ########################################################################################## # # # AJAX Cross Domain - ACD # # ---------------------------------------------------------------------------------------# # Full documentation see [url]http://www.ajax-cross-domain.com/[/url] # # ---------------------------------------------------------------------------------------# # Copyright (c) 2007 Bart Van der Donck - [url]http://www.dotinternet.be/[/url] # # ---------------------------------------------------------------------------------------# # For installation procedure, see [url]http://www.ajax-cross-domain.com/#Installation[/url] # # ---------------------------------------------------------------------------------------# # Permission to use, copy, modify, and …

Member Avatar for KevinADC
0
132
Member Avatar for xtheendx

I am writing a gradbook type program. It first allows the user to enter the number of students they want to enter. then allows them to enter the first name, last name, and grade of each student. The program then should sort the names alphabetically by last name and display …

Member Avatar for Lerner
0
1K
Member Avatar for wizard_bro

I'm developing this game with sockets, server-client connection!! And the problem is I can't put the game work, so many errors along the program, can anyone help me?! It´s urgent....

Member Avatar for KevinADC
0
137
Member Avatar for veledrom

Hi, 1- When i insert more than 30 datas (at once) into a table, does sequence cache size(20) effect anything because, i use sequence for auto increment in the table. 2-What happens if i increase the cache size from 20 to 50? thanks

Member Avatar for Nige Ridd
0
215
Member Avatar for Visualogic
Member Avatar for rob_xx17

hello, I'm writing a program to collect the data from a sonar of a robot. the robot is running Fedora 6. I want to collect the data in an external file as there is a lot of information to be reviewed. the program is fine when I direct the sonar …

Member Avatar for jephthah
0
2K

The End.