199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for eyad212

i have a small project with oledb (access) connection how can i make exe file to allat the same meaninig i have to deploy the project to work on any pc without change the path or the connection. i did it but i get errors cuase it was belong to …

Member Avatar for attya hassan
0
92
Member Avatar for MenloDeveloper

How can I find out where the class files are installed in a programmtic way? Thanks, Menlo

Member Avatar for jwenting
0
114
Member Avatar for RisTar

Hi , im trying to create a simple code that generate random numbers Im having two problem , 1. For some reason randomize() function does not work on VisualC++6 2. I didnt really got the idea on how to set the range of the numbers that will be generated using …

Member Avatar for WaltP
0
226
Member Avatar for Mpiangu

It appears every one is Usung Standard C++, Am using Borland and in my college we are stil stading borland can any one brief me about standard an may be is there need for me to switch to standard

Member Avatar for jwenting
0
127
Member Avatar for B.Y

I have a s1.txt like this : 3,R,G,T 1,E 9,T,U,Y,O Now I want to read each character of a each line ...do some analysis and then read each character of the next line ...do some analysis ...so on till EOF. How do I go abt this? Well ...I jus wrote …

Member Avatar for WaltP
0
10K
Member Avatar for jack223

sorry, i don't know which forum i should post this question. Q) a machine language program to input 2 numbers then adds 2 numbers then output the single-character result. this is what i got so far but it doesn't work..any help plz~~ [code] 0000 4900FE ;Get input from the user …

Member Avatar for Day Brown
0
2K
Member Avatar for FreeFull

I tried to write a program that uses if loops to check if a char variable had certain value: [code=c++] /* FreeFull Software */ #include <iostream> using namespace std; float dark_rays; float light_rays; float ball; float universe; float matter; char menu; char darkmenu; char lightmenu; int main() { cout << …

Member Avatar for vijayan121
0
158
Member Avatar for birdy

Hi guys, im currently programming in 16bit dos for my class.. Is there a better technique (as to saving space/memory) to writing what i have down here, or that is the best it will get? [code] mov dx, ' ' int 21h mov dx, '|' int 21h mov dx, ' …

Member Avatar for Purple Avenger
0
81
Member Avatar for jerryseinfeld

I mean I can change [code] double d; d= atof("99.0"); [/code] this with %.2f to ---- 99.0 to 99.00 but how can I take from user an integer and change it %.2f??? what should I write in atof ???? anyone to understand ??? :)

Member Avatar for thekashyap
0
81
Member Avatar for shsh_shah

Hi, Is there anyway i can put my every entry of username in a file like this e.g. using any auto number generation with every entry 1. Test 2. Hello After i put them in a file like this i want to search and delete based on the numbers. e.g. …

Member Avatar for shsh_shah
0
124
Member Avatar for chikwava

[b][/b][u][/u]my Question Is: Design And Implement A Programme That Helps To Analyse The Flow Of Patients Into The Emergency Room. Enter The Integers That Represents The Number Of Patients That Entered The Emergency Room During Each Hour Of The Day For Four Weeks In A Three-dimensional Array Then Analyze The …

Member Avatar for naya22
0
97
Member Avatar for Gaurav arora

hi all! i m trying to input an array of strings same as we input array of integers. by declaring a 2 dimensianal array runnig 2 for loops like [code] for(i=0;i<m;i++) for(j=0;j<n;j++) cin>>arr[i,j] [/code] plz help me i m in great confusion because by doing in this way, i m …

Member Avatar for sirkraven
0
108
Member Avatar for CRD

Find out Which header or DLL files are needed for functions in C++? In other words how do you know which include headers are needed to do ferious user defined functions? Dick

Member Avatar for Mpiangu
0
103
Member Avatar for Manoj kothari
Member Avatar for nottoshabi

I wrote this code, and I'm having a little problem with it. The point of the code is for the user to enter a desired number, then that number gets subtracted by 45 then dived by the percentages and all that dived by 2. Also I dont know how to …

Member Avatar for Ancient Dragon
0
325
Member Avatar for zacory

I'm trying to make a simple IM program. I created a server and client that connects specifically to my computer using Winsock2.h I tested it and it works from my computer to my server, from my roommates computer to my server, the library computer to my server, but I had …

Member Avatar for zacory
0
90
Member Avatar for monkeytuesdays1
Member Avatar for NewKidWalking

Hello, I'm new... And this is my first code display. [code] [code=Language] #include <iostream.h> #include <iomanip.h> #include <ctype.h> #include <stdio.h> main() { struct figure_info { int a = 1; int who = 2; int where = 3; int when = 4; int how = 5; int why = 7; return; …

Member Avatar for ~s.o.s~
0
92
Member Avatar for wonder_gal

Hi, I am writing a function to unzip a zipped file. But I'm getting this error, "Cast from string "C:\temp\FileName.zip" to type 'Integer' is not valid." Below is my coding, I got this error in the bold line. May I know what does the casting error mean here? Why do …

Member Avatar for wonder_gal
0
268
Member Avatar for grandprix

hello all, i need to write a script for windows server 2003 that will allow me to add new users to the Active Directory, but not conventionally, as i will soon explain. This is a full command right now: dsadd user "CN=ATEST001,OU=local-admins,DC=red,DC=qumranet,DC=com" -display "ATEST001 FAMILYNAME" -pwd 123456 -u RED\administrator -p …

Member Avatar for jrcagle
0
106
Member Avatar for Osama Mehtab

I've so far studied C++ through Robert Lafore's Book but to understand more variations of recursion I need some example codes for recursions hoping good from u :mrgreen:

Member Avatar for Ancient Dragon
0
97
Member Avatar for Duki

Hey everyone, I'm working on this program for class but I'm getting an error in the [I]sumGrades[/I] function saying 'inp' is undeclared. Could someone give me a hand? #include <iostream> #include <iomanip> #include <fstream> #include <string> using namespace std; // initializes count of females, count of males, female GPA sum, …

Member Avatar for John A
0
103
Member Avatar for enggars

Hello... Is there a way to retain the value of radio button during paging in ASP? Thanks....

Member Avatar for gil857
0
145
Member Avatar for Duki

Hey, I'm working on another program for class which is to determine the day of the year given the date the user inputs. The date will be input in the xx-xx-xxxx format. Is there a way I can cin Mon, skip char, cin Day, skip char, cin Year ? How …

Member Avatar for John A
0
244
Member Avatar for developer4321

I need help coming up with an algorithm to determine if the user clicks on any point of a line. A line is given by two points. So you have x1, y1 positions of the first point, and x2,y2 positions of the second point. I need to determine in the …

Member Avatar for developer4321
0
95
Member Avatar for Geek-Master

I have a view that looks at new student records and a table that stores those records and information related to their Active Directory logins. What I need to do is filter out any duplicate records between the two "tables". So I only see unique records in the view to …

Member Avatar for hollystyles
0
4K
Member Avatar for sirkraven

[COLOR=#555555]Hey, [/COLOR] [COLOR=#555555]I have a singly linked list that has a show all function that looks like this[/COLOR] [code] [COLOR=#555555]virtual void Show()[/COLOR] [COLOR=#555555] {[/COLOR] [COLOR=#555555] myObject->Show(); myNext->Show();[/COLOR] [COLOR=#555555] } [/COLOR] [/code] [COLOR=#555555]Where myObject is a class ordered by an int. This function prints out all information in the list.[/COLOR] [COLOR=#555555]I …

Member Avatar for sirkraven
0
128
Member Avatar for Zay

Hello; can any one help me to know how to check that my code is corrsct in Textpad ? there is no output like C++ ;so it make proplem fpr me . this is the code : [code];Assi#1 .model small .stack 100h .data F1 sword 12 dup(12,4,7,-8,1,10,8,-4,20,44,3,-9) F2 sword 12 …

Member Avatar for Evenbit
0
177
Member Avatar for Sebouh

Hi all. This is my first post here, and i need urgent help with a programming assignment. I am working on an assignment which requires me to build a simple shell. My shell must handle simple commands with arguements and ones with piping and I/O redirection. The problem is i …

Member Avatar for Infarction
0
117
Member Avatar for kapkan

Again i (= As though authorization, i check on presence of record in db. Why that i do not receive the necessary result. Prompt in what a problem. Thankful in advance. In db the table users a kind: |id|acc|pswd |...| [code] ================== public class DrugstoreFrame extends JFrame { MsAcDatabase database; …

Member Avatar for kapkan
0
82
Member Avatar for parul195

im facing problems installing the jdbc driver on my machine.... the OS on my machine is fedora core 6... plz help

Member Avatar for jbennet
0
74
Member Avatar for maverick786

I have created a project with about 7 files including 3 header files and 3 implementation files. I am getting a multiple definition error when compiling for one specific file of class. I have checked that if there is more than one allocation of storage for identifiers, this error arises. …

Member Avatar for thekashyap
0
63
Member Avatar for naya22

Hi. I am trying to write a program that asks for the wholesale cost of an item and its markup percentage, and displays the retail price. Well, I did that the regular way, but... My instructions require for me to: *Create a function that accepts the wholesale cost and markup …

Member Avatar for thekashyap
0
105
Member Avatar for ck1212

i need ur help to complete this assignment Write a C program which, reads from standard input, replaces all the occurrences of the characters supplied by the 1st command line argument, with the corresponding characters supplied by the 2nd command line argument, and writes the output to a file supplied …

Member Avatar for rowly
0
161
Member Avatar for jasssvj

Hi! How can I read all files in a directory, when I don't know which files are there? Sincerely Jasmina Jeleva!

Member Avatar for vijayan121
0
1K
Member Avatar for EnderX

I'm trying to figure out how to work with an operating system called GS-DOS. (Full name appears to be 'General Software Embedded[v2]'). It is being used in a handheld barcode scanner I have been asked to work with, in the hopes that I can figure out how to program it. …

Member Avatar for jbennet
0
104
Member Avatar for karan_21584

hai, i m new to this site and my 1st post is this. I have a table which consist of some tuples. i didnt set any primary key. by mistakely i entered the same values for two tuples. i want to delete a single tuple without copying the table to …

Member Avatar for davidcairns
0
110
Member Avatar for jacsoft

[COLOR=#444444]Hi, I want to make a program that copy’s itself while running[/COLOR] [COLOR=#444444]Can you please help!!!!? [/COLOR] [COLOR=#444444][/COLOR] [COLOR=#444444]Visual basic 8.0[/COLOR]

Member Avatar for PVBert
0
90
Member Avatar for Salim_22

hello there i need help on encrypting and decrypting words. this is my task i have to do: [COLOR=#000000]Implement a piece of software that can be used to encrypt and decrypt words. At its simplest, the software could use a simple translation process that replaces each letter with a different …

Member Avatar for Salim_22
0
123
Member Avatar for ahad

Hi During writing a code, I need to define dynamic arrays several times, so I wrote the following simple function for defining a double 1D array: [code=c] /*---------------------------------------------------------------------------- Function for Difining 1-D Dynaimcs Arrays for Storing Double Values ------------------------------------------------------------------------------*/ double *allocation_1d_double(int size) { double *array; if ( (array = (double …

Member Avatar for Ancient Dragon
0
126
Member Avatar for sirkraven

[COLOR=#555555]Hi, I’m new to c++ and am looking for some help. I’ve searched through most of the site but cant find exactly what I need, so thought I’d ask. [/COLOR] [COLOR=#555555]I need to read in strings (arrays of char) from a text file in a function then pass them back …

Member Avatar for Ancient Dragon
0
106
Member Avatar for sneekula
Member Avatar for sharma_vivek82
0
196
Member Avatar for sliver_752

Hello all, Is there any algorithm to convert a python tuple to MySql query. Ex: [B] ('*','name','sliver')[/B] should convert to [B] select [Pri_Key] from [All Tables] where 'name' = 'sliver';[/B] I have been able to do so ... but my algorithm looks very ugly and have to process everything bit …

Member Avatar for sharma_vivek82
0
681
Member Avatar for fredzik

G'day, I've been googling for the last three weeks :eek: trying to get an example of a program larger than a simple "Hello World" that works inside it's own GUI. I've been working on the "GUI with calculator" in this same section of Daniweb, but as soon as I put …

Member Avatar for fredzik
0
162
Member Avatar for jan1024188
Member Avatar for jan1024188
0
87
Member Avatar for IBGhost

Hi everyone! I am new with this site so I try to explain my problem. I have a code in VB, how can I change the code to give me the ouput in text file(exel favorite)???

Member Avatar for arjunsasidharan
0
80
Member Avatar for Riazansar

dear people i have an assignment due in one hour and its not working. i have to write a program with four functions that finds out and print the twin prime numbers. i followed every step in the assignment and its not giving any error but i dont have any …

Member Avatar for Riazansar
0
149
Member Avatar for Bill Explosion

I just started doing this site and did a extremely minimal update only to get this pesky error. I am not sure what the deal is and seriously want to fix this ASAP. I'm sorry as well, as i'm brand new to this coding. (Didn't think i'd get such an …

Member Avatar for Bill Explosion
0
152
Member Avatar for Tauren

[code=c]cout << "\nYou trade your sword for a battle axe."; inventory[0] = "battle axe"; cout << "\nYour items:\n"; for (int i = 0; i < numItems; ++i) cout << inventory[i] << endl; [/code] Uhh well the question is that I really dont get the ++i Why would you use the …

Member Avatar for WaltP
0
132
Member Avatar for uswatun

import java.applet.*; import java.awt.*; import java.awt.event.*; [B]public class MathApplet extends Applet implements ActionListener [/B]{ private Label lblPrompt,lblNom1,lblNom2,lblCampur; private TextField txtNom1,txtNom2; private Button btnKira; //isytiharkan button public void init() { lblPrompt=new Label("masukkan 2 nombor integer"); lblNom1=new Label("nombor Pertama:"); lblNom2=new Label("nombor kedua:"); txtNom1=new TextField("0"); txtNom2=new TextField("0"); lblCampur=new Label("Hasil campur:0"); btnKira=new Button("Kira");//objek btn …

Member Avatar for masijade
0
110

The End.