199,114 Archived Topics
Remove Filter ![]() | |
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] | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 | |
Hi, I need a trigger; - to find number 1 from "ID" column and - update "AVAILABILITY" column from Yes to No in "PRODUCT" table. Thanks | |
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 … | |
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 … | |
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 … | |
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(); … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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; … | |
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 … | |
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, … | |
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. | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
[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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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. | |
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 }, … | |
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 … | |
#!/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 … | |
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 … | |
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.... | |
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 | |
do i need a connector??? | |
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 … |
The End.