8,298 Topics

Member Avatar for
Member Avatar for manster

I'm clueless as to how to fix the errors in this contact information manager program. please help. Thanks in advanced [code=cplusplus] #include <iostream> #include <string> #include <fstream> using namespace std; struct Date { int month, day, year; }; struct Address { string street, city, state, zipcode; }; class Person { …

Member Avatar for Nick Evan
0
947
Member Avatar for soniamehra83

I have created crystal report now i want to take printout of that page using c# with asp.net1.1. Can anyone help to comeout from this queries ? what code i have to write to take print of that page in pdf format?

0
52
Member Avatar for 187

i have to write a program that checks a palindrome to see if it is in fact a palindrome but i get this warning warning C4800: 'char *' : forcing value to bool 'true' or 'false' (performance warning) and its not quite working any help would be great thanks. [code]#include …

Member Avatar for 187
0
364
Member Avatar for Kisankoori

Hi All, I am developing a Windows Forms 2.0 application. I have some questions on the DataGridView. I have two Datagridviews on the form which I have populated from the the database tables customer_group, and group using the datasource wizard. The table group for the gridview contains columns GroupID int …

0
60
Member Avatar for eesti44

I have a question. I have been studying C++ and it seems to be getting a tad repetitive. What I really would like to do is more with electronics but also with C++. My laptop only has USB ports. I never wanted to be a programmer but would like to …

Member Avatar for Jishnu
0
106
Member Avatar for balla4eva33

I'm trying to create a simple little program that will accept arguments of files (i.e. file1 and file2), and look for occurrences of the "match" string in the included arg files. Then I want to print out the whole line where the match is found preceded by the number of …

Member Avatar for balla4eva33
0
223
Member Avatar for wijitha

Hi all.. can any one explain me how to implement a byte array in c++. regards wijitha.

Member Avatar for Narue
0
61
Member Avatar for kobi

Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks

Member Avatar for yagiD
0
94
Member Avatar for Ravenous Wolf

am i the only one who thinks that c# screen development really sucks? i have just completed the silly task of repeating the same 30 lines of code sixteen times. and why, some might ask, are you so silly to do that? it is because, unlike java and visual basic …

Member Avatar for latitude7ds
0
100
Member Avatar for guccica

Hi all, would need your help on unzipping message which is zipped with java.util.zip. For your information my module was written in c++. Currently i am trying to unzip with zlib, how ever it failed with "Z_DATA_ERROR" error. Please advice.. thanks a lot. regards brandon

Member Avatar for guccica
0
120
Member Avatar for jsmith9990

Hi , i''m Smith. I want to know more abou C pointers . And its use in C. Friends, those who are interested in this topic please give me good idea . First of all i want to know About basic things about pointers. What is a C pointer? And …

Member Avatar for Narue
0
108
Member Avatar for tamlo

Am trying to write a structure to store weather data for a particular month. total rainfall High temp Low temp Average temp Am trying to calculation but not getting anywhere. I need help please. (1)Not sure how to add the 12 rainfall to get the total rainfall and the average …

Member Avatar for Lerner
0
163
Member Avatar for ithelp

Hi Experts, What kind of tool do you use to unit test your C++ code in your project ?

0
53
Member Avatar for Ravenous Wolf

here is a question which some would consider silly but i would still love to ask. what are the chances of C# or java replacing c++ as the gaming language? more and more books are being written about game design in C#. c++ has the advantages of being fast and …

Member Avatar for maddog39
0
188
Member Avatar for richardtate

As requested by crunchie I am posting this as a new thread. Have an XP computer that is continually displaying C:\windows\system32\append.dll is not a valid Windows image. Crunchie has suggested I run SDFix.exe and also Highjackthis. I have run Spybot on this computer and also doing full virus scan right …

Member Avatar for sbarron2000
0
162
Member Avatar for fishsqzr

I can't seem to get OleDb controls to show up in C# Express. Are they excluded for some reason? I have made sure they are selected in the "Choose Toolbox items..." dialog, where they are listed, but they don't appear anywhere on the toolbar. I tried to add them to …

Member Avatar for fishsqzr
0
83
Member Avatar for Barefootsanders

Hey everyone, I'm attempting to monitor a directory, including subdirectories, for changes and update a database. The database part I can do, I just cant figure out how to monitor the directory for changes.. any suggestions? Is there an easy way to do it like function.getChanges(directory)?? Microsoft seems to make …

Member Avatar for Barefootsanders
0
90
Member Avatar for partyanimal

Hello All I have created a form which as two group boxes, in each of these group boxes I have 8 radio buttons in each labeled 1 to 8 and the group boxes are named Up for the first box and Down for the second box. and I also have …

Member Avatar for partyanimal
0
169
Member Avatar for yuzhang

Hello All: I have been thinking to learn develop a GUI using C++. Any suggestions on where to start? (Using which development kits and etc) Thank you

Member Avatar for maddog39
0
87
Member Avatar for dsuh06

for the for loop for ( ; *source!='\0'; source++) what is the purpose of the semicolon in the for loop ? thank you!

Member Avatar for Ancient Dragon
0
108
Member Avatar for zandiago

Good day. My semester of c++ is coming to an end. I've got to complete a total of 7 assignments within the next 3 weeks. I've completed 5 out of the seven. I've got two left (1 has a separate thread by itself). So you can also take a look …

Member Avatar for zandiago
0
979
Member Avatar for Oreynid

Hello all, I've tried reading back threads and the various posted tutorials, etc that here and I've not stumbled upon the answer I'm looking for. I am attempting to write a hangman game as a school project, and I am having trouble getting just one character from the input stream. …

Member Avatar for Salem
0
10K
Member Avatar for bigt2008

[B]so foar I've done this much[/B] using namespace std; int main() { //1.Declares an input stream variable named inFile ifstream inFile; //2.Opens "indata.txt" inFile.open("indata.txt"); //3. If input file was not opened Prints "Input file not found" if (inFile.fail()) { cout << "Could not open file!" << endl; return 1; } …

Member Avatar for Lerner
0
90
Member Avatar for zandiago

Good day. I would like some suggestions/recommendations as to what type of project i could do...so basically you guys get to assume the role of a professor...here it goes: Write a program that uses an array of structures. lt can be on any topic or subject you wish to choose. …

Member Avatar for zandiago
0
561
Member Avatar for dsuh06

what does the following do? int array[6] = { 5, 3, 4, 17, 22, 19 }; int* ptr = array[0] *ptr = -1; thank you!

Member Avatar for Ancient Dragon
0
116
Member Avatar for johny112

Im trying to write the programme for the following question, and im really struggliing. I will be reaaly thankful if someone can give me some tips or a programme for this. I would also like to point that im new to programming and this website so please give me some …

Member Avatar for johny112
0
103
Member Avatar for tootypegs

Hi basically i have a program that gets a handle on a USB device lusing '\\\\?\\e:' but i want to be able to get a handle on it using its device instance id 'STORAGE\REMOVABLEMEDIA\7&324ACC50&0&RM:' How do i impliment this, i have tried the following below and it just doesnt work …

Member Avatar for tootypegs
0
105
Member Avatar for dotNetDummi

Hi all, (I apologise if this thread is out-of-topic) I need some ideas for my project. I have to develop a web application for some users to approve some documents. The problem I have is that I [U]can't[/U] give these people a login account (due to my project requirement). I …

Member Avatar for dotNetDummi
0
158
Member Avatar for artak
Member Avatar for einfoway
0
21
Member Avatar for IRSSRI

I am new to C++, and I am currently learning pointers. I am fully aware of the whole homework help restriction guideline stuff on this site. I am slowly understanding the logic of pointers. I just need help with the coding syntax. My assignment is as follows: I have a …

Member Avatar for Jishnu
0
109
Member Avatar for samiullah478

AA All i want to know about future of Vb.Net i am a vb6 and Vb.net developer since many time. but now i see from every where that ever body says that C# over comes vb.net in future and vb.net no more available and finish. so how much its true …

Member Avatar for Jx_Man
0
145
Member Avatar for geckoo

I was wondwring can somebody help me with my problem: how can i run my .exe, created usnig bolrand c++ on another computer wich hasn't got C++ installed maybe its a silly qustion, but i just don't konw it. ...ooops I forgot the main reason for my qustion my program …

Member Avatar for Sturm
0
141
Member Avatar for amnajvd

Hi I Am Working On This Project I Which I Need To Send Jpeg Files Over The Lan Ports To Some Device. Can Somebody Please Tell How Do I Program My Lan Ports In C++ Orc Maybe??/ Thanx Amna

Member Avatar for Ancient Dragon
0
327
Member Avatar for samaru

Hey guys. I was thinking about writing a C++ tutorial. What do you think are the hardest topics to cover in C++? I know a lot of people have a hard time with pointers, but I was wondering what you guys think.

Member Avatar for Salem
0
401
Member Avatar for brlukosk

Hello all! New here at daniweb. I am working on a function to check the validity of a sudoku puzzle. It must check the 9x9 matrix to make sure it follows the rules and is a valid sudoku puzzle. this is what I have come up with so far: [CODE]/** …

Member Avatar for brlukosk
0
4K
Member Avatar for scru

Hi. I know C#, but I want to venture out cautiously into the world of unmanaged code (reasons had). Now, I want to learn C++ eventually, but I was thinking that I should learn the C language before, since if I'm not mistaken, C++ is itself an extension of the …

Member Avatar for Narue
0
82
Member Avatar for uonsin

hi, i have to make a IM program with C and i was wondering if anyone knows a way to access dos commands with C, like net send i was thinking to use rpc (remote procedure call) for windows, so if anyone have any suggestion please let me know

Member Avatar for uonsin
0
97
Member Avatar for sam63

I've got some really fundamental questions that I am almost embarassed to ask. But what is the real importance of properties in C#? And how many ways are there to invoke a method? Ssam .......

Member Avatar for sam63
0
85
Member Avatar for Awais Ahmad

hello guys: i awais ahmad has a simple problem with the two dimensional array. that is how to get two values in one column of the array

Member Avatar for Lerner
0
118
Member Avatar for vishnu narayan

Hello every one ! How can I display node of parent node and corresponding child nodes.Suppose I have to display 'Label' nodes of all <ScreenToSupport>. There can be multiple <ScreenToSupport> inside parent node <ScreensToSupport>.In this case I have to display Label 'rediffHomePage' and 'rediffHomePage1' of both <ScreenToSupport> node.But I have …

0
82
Member Avatar for kwadders

Hi all, I have been working programming embedded C for just over a year now. But I am interested in learning Java. In essence, I am looking for a definitive guide to Java, including books and on line resources. From, past experience I know that the best way to learn …

Member Avatar for kwadders
0
91
Member Avatar for Blythe24

Hello- I am having trouble with a program that I have written in C++. My problem is that I can't put the name information into my structure. I am able to add in the "name" the first time around, however, on the second loop it simply skips it and goes …

Member Avatar for Blythe24
0
149
Member Avatar for towhoe260

This is my assignment. Write a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements: One of the functions must use pass-by-value, returning the converted measure One of the functions must use pass-by-reference to store its result …

Member Avatar for WaltP
0
754
Member Avatar for nemoo

[COLOR="Green"]here is my program i think that it's right[/COLOR] [code=c++] #include<iostream.h> int main(){ int n,i=3; cout<<"please enter number to see weither it is a prime one or not"<<endl; cin>>n; if(n==2||n==3){cout<<n<<"is prime number"<<endl;} else if(n%2==0) {cout<<n<<"\t is not prime"<<endl;} else{ for(i=3;i<n;i+=2) { if(n%i==0) {cout<<n<<"\t is not a prime number"<<endl;break;} else { …

Member Avatar for vmanes
0
107
Member Avatar for ace_joker_bt

I can make this program to copy diverse format wihout losts. example: C:\\animal.exe to D:\\animal.exe (The File location write in locale) [CODE=c++]#include <iostream> #include <fstream> using namespace std; int main () { char data[50]; char inputFile [100]; cout <<"Insert inputFilePatch :"<<endl; cin >> inputFile; ifstream inputFilePatch; inputFilePatch.open(inputFile); if(!inputFilePatch) { cout …

Member Avatar for ace_joker_bt
0
357
Member Avatar for k88joshi

Hi , I want to read in a file that has string in it and i want to convert all those strings to hex and want to find a pattern. For Example, string = "dsofijdsoifjaslifdjaslidjlasjdlasjdlsaj" and i want to find a sequence of something in Hex: " 5A 1b 1b" …

Member Avatar for iamthwee
0
132
Member Avatar for sam63

I used to work with procedural languages. C# is all about types. The procedures are secondary to typology. Why???? What do you think was in the minds of those who invented C# ??????? What do they want nincompoops like me to get out of this ??? I love the language …

Member Avatar for MidiMagic
0
117
Member Avatar for nabilchampion

Hi all I need to read a program in c/c++ in linux which shall read rtf file text and then informs me the information about the fonts properties of the text in rtf file. Can anyone tell me how to do that.. does any library exists for this that I …

Member Avatar for nabilchampion
0
1K
Member Avatar for nedwards

Hi, I have an interesting question. I have this C# Application and I need to generate a report. I want to be able to print the report or save it to a file. Unfortunately I don't want it to depend on a third party software ( Crystal Reports, MS Word, …

Member Avatar for scru
0
113
Member Avatar for cllgegrl

I am writing a simple program that takes a string input from a user, stores it in a dynamically allocated array, changes it to upper case, and then prints. It works for all letters and symbols but when I use a space character, the program automatically exits. Can someone please …

Member Avatar for joshua.tilson
-1
95

The End.