132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nicz888

Sorry, this is going to be a very long post :$ first of all, here is my codes: [b]Header File[/b] [code=c++] struct hardware { int record; char name[100]; int quantity; float cost; }; [/code] [b]Binary Input File cpp[/b] [code=c++] #include<iostream> #include<iomanip> #include<fstream> #include <cstring> #include "hardware.h" using namespace std; void …

Software Development c++ ios
Member Avatar for vmanes
0
81
Member Avatar for dooda man

i want to put my program in a setup project but there is a problem which is other users dont have dot net frame work to make the setup begin, the question is how can i put dot net frame work in my setup, to generalize i want to make …

Software Development
Member Avatar for Jugortha
0
185
Member Avatar for FSinister

Hi, I'm new here, but you'll probably be seeing too much of me before long ;) My names Daniel. I have this sort method for sorting (essentially) an array, but it does strange things that i can't quite figure out, and it doesn't sort. the array is a feature of …

Software Development java
Member Avatar for FSinister
0
153
Member Avatar for Ali.M.Habib

I have a tsak which is let the user draw any number of rectangles in a panel and if he want to move one of them use the mouse How can I do that please the problem faces me: 1. How let him draw many of them 2. How can …

Software Development
Member Avatar for Jugortha
0
113
Member Avatar for Killer_Typo

Hey, i was wondering if there was a way to do a custom error check. Such as if a user inputs anything other than a number then i would like it to output an error message. short of having to type in every letter and symbol on the keyboard is …

Software Development display
Member Avatar for Jugortha
0
322
Member Avatar for HLA91

Hi guys Im trying to make a maths game for a friend of mines little brother jase, but I need it to generate 2 random numbers between 1 and the maximum number that jase said. I cant figure out how to get the rand1 = (rand()%10)+1; so that the 10 …

Software Development c++
Member Avatar for invisal
0
730
Member Avatar for Dr_computer

Hi, can you help me i want code that show a picture and another code to save picture finaly how can add flash on my programme please please give me answer quickly best wishes

Software Development flash vb.net
Member Avatar for Jx_Man
0
225
Member Avatar for Exelio

hi all, I have a panel which contains a picturebox and two textboxes. in one of the textbox, some large content is to be displayed. this content is dynamic and i want the textbox to wrap the text accordingly. i set the textbox multiline property to true and also set …

Software Development
Member Avatar for Jugortha
0
98
Member Avatar for Qatar.Uni

Hello , please help with a code to write in a Microsoft word file .

Software Development c c# c++
Member Avatar for Jugortha
0
313
Member Avatar for spockenheit

How do I list the number of elements in a vector, i.e test : array[1..10] of string; ?

Software Development pascal
Member Avatar for Duoas
0
122
Member Avatar for RoOose

Hi.... I've wrote a code about arrange the names in descending order. But, I'm not sure it's right or wrong. Can u help me, please? The code is: import javax.swing.JOptionPane; public class Names { public static void main(String[] argus){ int i = 0; int n =10 ; int j; String …

Software Development java java-swing
Member Avatar for Ezzaral
0
89
Member Avatar for meirab

i have an interest in boost/regex library - i need to extract url from a file ----> bookmark.html (from ie6) the regex demo programs use this library - but it is from 2003. when i try to run the program - i get an error: LINK : fatal error LNK1104: …

Software Development c++ regex
Member Avatar for meirab
0
205
Member Avatar for stabiloGenuis

Hi, I have created a Crystal Report Viewer. When compiled on my machine it works fine. However, earlier this week I had to make a copy onto a server. When doing this I had encountered several problems that I maanged to solve...except for one :o(. No matter what I try …

Software Development open-source web-server xml
Member Avatar for Jugortha
0
180
Member Avatar for desi_developer

Hi All. I am using a GridView to List contacts linked to a logged in User. I can successfully bind the Gridview with a DataTable. And the values in the GridView are correctly displayed. I have a BoundField at Index 0 of the GridView which pulls a value from a …

Software Development linked-list
Member Avatar for Jugortha
0
96
Member Avatar for gabs

hi, I created a GUI using vc++ (without mfc). now I am told it needs to be used through a web browser, but I don't know how to do it. I have been told that one solution is turning it into an activeX control, but I have no knowledge of …

Software Development c++ gui web-browser
Member Avatar for ShawnCplus
0
83
Member Avatar for yangchen60

virtual void drive() = 0 What this means? void means no return value. drive() is a function but what virtual means? and why it asigns a value of 0 to a function?How can a function have value of 0 ? Thank you

Software Development c++
Member Avatar for dubeyprateek
0
76
Member Avatar for shizu

Hihi.. I would like to ask about ::FindWindow's function.. I execute a program call ABC.exe.. I have coding like below.. HWND window = ::FindWindow("ABC", NULL); but I get the window value is NULL.. may I know what is my mistake..?? I had execute the ABC program, suspose it can return …

Software Development c++
Member Avatar for dubeyprateek
0
326
Member Avatar for tifka

Hey I am trying to create a assembly program to do CRC. So it accepts user input, runs it threw CRC and give it back. Can anyone give me any hints on how to do this in ASM

Software Development assembly
Member Avatar for tifka
0
90
Member Avatar for majestic0110

HI all I am new to C # and have picked up a copy of Sams teach yourself c # in 21 days. I hold a BSc in software design so I am not new to programming. However I am surprised at how similar c # is to java ( …

Software Development c#
Member Avatar for majestic0110
0
142
Member Avatar for ithelp

Hi Experts, Please share your thoughts, it was asked to me in a job interview, I said I would remove "multiple inheritance" , but I was not prepared for the interview question. Your ideas please.

Software Development c++
Member Avatar for Salem
0
116
Member Avatar for aan@ucsc

Can anyone help me to do this if a jTextField has text like this 1A2B89C0 array[0]=1; array[1]=10;//A should convert to 10 ,B to 11,c to 12,........ array[2]=2; array[3]=11;//B to 11 array[4]=8; array[5]=9; array[6]=12;//C to 12 array[7]=0; actualy this part is needed for a program which is convert a number in …

Software Development java
Member Avatar for aan@ucsc
0
98
Member Avatar for evilseed187

I need help with beginning code to simple game of hangman in C++ Don't know where to start and it is due in six hours.

Software Development c++
Member Avatar for Salem
0
122
Member Avatar for ceyesuma

word.doc attached. please tell me if it isn't attached thanks

Software Development java
Member Avatar for ceyesuma
0
101
Member Avatar for Jicky

what is ment by make file ,what is it used for ,is it a development tool?

Software Development c++
Member Avatar for jaepi
0
75
Member Avatar for picklesandmayo

I've been working on a project for a few days now, and I am running out of time by trying to research everything I am doing. My task for this particular program is to create an inventory program that reads from a file and then allows the user to manipulate …

Software Development c++ ios visual-studio
Member Avatar for picklesandmayo
0
2K
Member Avatar for people123

I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the …

Software Development c++
Member Avatar for people123
0
140
Member Avatar for Roadphantom13

Ok. Newbie poster/programmer so bear with me. I created a beginner math program that should be usable by young children. I have it working for the most part but now there are three things I would like to do to make the program more professional. First, I would now like …

Software Development python
Member Avatar for jrcagle
0
115
Member Avatar for kv79

Hi to all, I woud like to know how to destroy only a child window?I am Using Dev-C++ WIN32 Thank you for reading.What message to do i need?

Software Development c++
Member Avatar for Ancient Dragon
0
114
Member Avatar for eranga262154

Hi, I want to count the number of characters of a string. Try to do it as follows. [CODE=cplusplus] int iSpace = 0; int iLength; string strTemp("This is a line of text"); iLength = strTemp.length(); cout << iLength << endl; for(int i = 0; i < iLength; i++) { if((strTemp.at(i) …

Software Development c++
Member Avatar for eranga262154
0
159
Member Avatar for Jishnu

Hello, I've read in a book that APIs in the native APIs start with one of the two prefixes: Either Nt or Zw, so that the functions have names like NtCreateFile or ZwCreateFile. What does Zw stand for? It further says: [I]Both versions actually point to the same code in …

Software Development api c++
Member Avatar for Jishnu
0
142
Member Avatar for kv79

Hi i have a problem i can't see my menu. So thanks for reading. It is not finished but the compiler done it . So i wana test drive before complite it. File name Test1.cpp [code=C++] #include "resource.h" #include <windows.h> #include <winuser.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure …

Software Development c++ data-structure queue
Member Avatar for kv79
0
114
Member Avatar for latitude7ds

I am trying to update 64 bit displays in a For Next Loop. I can pass One Object successfully but can't iterate through a collection in order. Shouldn't GetNextControl do this? It Retrieves the next control forward or back in the tab order of child controls. Is there a Better …

Software Development
Member Avatar for latitude7ds
0
90
Member Avatar for picklesandmayo

So after putting together this program, I am trying to sort multiple words alphabetically using [TEX]qsort ()[/TEX]. I have been using examples of [TEX]qsort ()[/TEX] found on the web and trying to adapt them to my cause, but all I've done so far is confuse myself. There are no errors, …

Software Development c++
Member Avatar for picklesandmayo
0
126
Member Avatar for zawpai

Hi all, I have got the problems to sense the mouse's movement in VB 6.0. How should I solve it? At first, I use Form_MouseMove function, but the movement will not be detected while the mouse pointer gets out of form. If so, I can't use it. I know the …

Software Development visual-basic
Member Avatar for zawpai
0
2K
Member Avatar for atplerry

Hello Seasoning Greating! Hello to you all i am a student in a college and we are in a group we are giving the task to choice a project topic to write on VB and the project should be related to what is in our environment such as! 1) sending …

Software Development api daniweb-api oracle pdf visual-basic
Member Avatar for atplerry
0
130
Member Avatar for varsha0702

When I execute this code ,it accepts 2 nos,prints the msg enter your choice and terminates.. [code=c] #include<stdio.h> int main() { char ch; int a,b; printf("enter 2 nos :"); scanf("%d %d",&a,&b); printf("\nenter your choice:"); ch=getchar(); printf("%c",ch); switch(ch) { case '1': printf("sum : %f",a+b); break; case '2': printf("diff : %f",a-b); break; …

Software Development c
Member Avatar for Beair.GQ
0
134
Member Avatar for Bezukhof

I'm having a good deal of trouble figuring out how to sum the values of a list until they reach a specified goal. This is a H.W. assignment and it is as follows: "Define a Python function threshold(dailyGains, goal) that behaves as follows. The first parameter is a list of …

Software Development python
Member Avatar for woooee
0
133
Member Avatar for jem00

is it possible to create a looping list? [code]import time # a day value of None = > def dayOfWeek(DayNum = None): # match day order to Python return values days = ['Monday','Tuesday', 'Wednesday','Thursday', 'Friday','Saturday','Sunday'] theTime = time.localtime(time.time()) # Check for default value if DayNum == None: Day = theTime[6] …

Software Development python
Member Avatar for jem00
0
77
Member Avatar for kv79

Hi to all. Can i make a Window,who have a power to be always active but invisible for me?How?

Software Development c++
Member Avatar for kv79
0
84
Member Avatar for mtbutt

Hi Friend's... I can't make this program...Plz help me to make this program.. Make a Driver class TUNES.In this class Creates a CD Collection Object and adds some CD's to it Prints reports on the status of the collection.and then make a class CDCollection and write a constructor that creates …

Software Development java
Member Avatar for jasimp
0
138
Member Avatar for jem00

Hey guys, I don't understand the for loop. Could someone explain it to me? for example [code] >>> # Measure some strings: ... a = ['cat', 'window', 'defenestrate'] >>> for x in a: ... print x, len(x) ... cat 3 window 6 defenestrate 12 [/code] what is x? how does …

Software Development python
Member Avatar for jem00
0
121
Member Avatar for Queatrix

I have tried to assemble the following code in TASM and Flat Assembler, but they both give an error for every line of code. What is going on? How can I get the assemblers to assemble the * code?? Thanks for any help you can provide. [code] [BITS 16] [ORG …

Software Development assembly
Member Avatar for Queatrix
0
137
Member Avatar for seyetotto

Please I'm new to this forum and I need a help with my code.I have written it all and compiled but it doesnt seem to bring any output(I'm reading the input from a file on my system).Please bail me out, I need to turn it in soonest [code=cplusplus] #include<iostream> #include<fstream> …

Software Development c++
Member Avatar for vmanes
0
113
Member Avatar for tomoconnell

I read the message from the queen of the daniweb about surrounding the code with code tags, but I did not understand the message at all. I will enclose this code, and resend it, if necessary if some would explain the "[code]" "[/code]" tag dodad. Basically i have a record …

Software Development python
Member Avatar for tomoconnell
0
401
Member Avatar for balla4eva33

So I've got "m_starts" as a pointer to an int (int * m_starts;). And a const char * of "m_str". m_str = "bad,cold,new". How can I allocate "m_starts" to store the starting index of each word in m_str??? For loop?

Software Development c++
Member Avatar for Ancient Dragon
0
110
Member Avatar for Ancient Dragon

Its pretty rare for me to post questions here but I came across this one about qsort I can't answer. If I try to sort an array of character strings such as [icode]char array[255][20][/icode] qsort works ok as expected. But if I declare the array like this qsort fails: [icode]char*array[255][/icode] …

Software Development c
Member Avatar for Ancient Dragon
0
313
Member Avatar for nugget93

I quickly made this program in DEV C++ and have a few errors, heres a little background info on the program, there is a program at my school that allows the teachers to spy and take over your computer whenever so I did a little snooping and found that the …

Software Development c++ computer-vision
Member Avatar for Ancient Dragon
0
97
Member Avatar for Bamirasta

[I]<< split from the "[URL="http://www.daniweb.com/forums/thread66649.html"]removing the null terminator at the end of string[/URL]" thread >>[/I] But, Lets say what you have stored in your buffer is the contents of your file that you've open,. How do you get all the content of that file into your string without it stopping …

Software Development c
Member Avatar for Narue
0
91
Member Avatar for Sprinkles

Basically i have a VB6 project where i have a web browser on my form. I have a listbox and command buttons. What i have so far is when you click one of the command buttons, it opens a text file that is on your desktop. That text file contains …

Software Development visual-basic web-browser
Member Avatar for Sprinkles
0
78
Member Avatar for mjoshi

Hi, I want to write a program to split one file into multiple files. At any line that contains: "# Name:" i start writing to a new file. My problem is that i want to save each file with a name i extract from the same line. Example: # Name: …

Software Development c
Member Avatar for Narue
0
139

The End.