8,298 Topics

Member Avatar for
Member Avatar for bigbadowl

Hi All I have following code running on Vista Business under IIS7. It works, but is incredibly slow (about 20+ seconds). I have the same code in Java and it's instant. It appears to be the line "int bytesRec = sender.Receive(bytes);" that is the killer I'm very new to ASP …

Member Avatar for dickersonka
0
1K
Member Avatar for twek

Hello, im not necessarily new to c++ but i cant seem to find a good way to get input from other devices other then the keyboard. To get keyboard input i have been using [ICODE]GetAsyncKeyState();[/ICODE] i was wondering if there was a similar function to get input from other input …

Member Avatar for twek
0
247
Member Avatar for MJFiggs

I'm trying to make this program work like a game of BlackJack. However, the program will not listen to me when I try to end the loop. does anyone have any sugestions on how to fix this program? [code] #include <iostream> #include <ctime> using namespace std; double card = 0; …

Member Avatar for MJFiggs
0
487
Member Avatar for kapil.tandon

hii, i m developing an application n i am using the list box control. i hv allowed that multiple items can be selected. now what i want when the user selects a particular item , a popup or any control should open that allow user to enter the amont related …

Member Avatar for edejonge
0
189
Member Avatar for rhy

I am thinking about becoming a programmer and have a BA in socail science and computer tech certificate. Can I ge a job with just either a C ++ certificate or Java certificate. Which one would be better to take. Please advise.

Member Avatar for ithelp
0
161
Member Avatar for foggy_coder

Hello, I'm pretty new to C++ and I've been trying to this program to open a file and check if it exists for the last two hours. It seems like it should be so simple but it keeps eluding me. Here is the code in main that starts to run. …

Member Avatar for foggy_coder
0
260
Member Avatar for atman

Hey guys! I'm trying to calculate the average for student marks using pretest loop, and for some reason i get the wrong result, even though the code looks proper to me., there are 7 questions all of them totaling 100%, i haveto return average mark i HAVETO use pretest loop. …

Member Avatar for Aia
0
145
Member Avatar for songkok

hello everyone. i have search through the forums but unfortunately couldnt find the solution. if this topic has been discussed before, do give me the links to that thread. i work as intern now and my employer asked me to program a software using c++ but they want it with …

Member Avatar for songkok
0
118
Member Avatar for amvx86

Hello all, I've built a program which will take users data from the command line using int main (int argc, char *argv[]). However, when i wrote the program; i can successfully extract the options specified --php --html, etc. What i'm having a hard time with is writing the program to …

Member Avatar for WaltP
0
104
Member Avatar for kapil.tandon

hi i added modal popup handler into my application the popup which enmrges out is a panel and inside the panel i added the label and correspondong to label there is one textbox(txtE1) now the problem i m facing is tht i want to write the method related to the …

Member Avatar for kapil.tandon
0
248
Member Avatar for Jengrut

I create a form that can add,edit and delete particular into the listbox. The problem now is that i wan to save the particular on the listbox and wen i go in back i can load it back. i hope anyone out there can help me. This is the code: …

Member Avatar for Jugortha
0
553
Member Avatar for asifjavaid

Hi sir, I am making a win32 dll in VC++.NET 2005. I make an add funtion in it and then i call it from C# using System.Runtime.InteropServices; [DllImport("MXFWrapperMarvel.dll", EntryPoint = "add")] static extern int add(int a, int b); [code] ----------------------MXFWrapperMarvel.dll------------without header files--------------- #include "stdafx.h" #include <AtlConv.h> #ifdef _MANAGED #pragma managed(push, …

Member Avatar for cikara21
0
259
Member Avatar for Kevinle

I am searching for the topic, and I don't know whrere to start. Pease advise. Your assistance is greatly apprecieated. Thanks. Kevin

Member Avatar for Lerner
0
92
Member Avatar for kyserthehun

Hi, i'm having a little trouble with my Zeller's Algorithm problem. Everything seems to work fine unless the year is 1600, 1700, 1800, ect. I've been trying to figure out where i went wrong but to no avail. I'd appreciate any advice. Thanks. [code] #include <iostream> #include <iomanip> using namespace …

Member Avatar for ddanbe
0
789
Member Avatar for localp

i want to convert a string to an integer value... for example :: if there is a string called "Guy" G=7; // in the alpherbert G is = 7 u=21; y=24; i want the out put to be as >> 7 21 24 can some one plzz help me to …

Member Avatar for skatamatic
0
131
Member Avatar for blackrobe

I've been reading an article but the code is written in C language which I don't get at all... The code is: [CODE]void traverse(Tptr p) { if (!p) return; traverse(p->lokid); if (p->splitchar) traverse(p->eqkid); else printf("%s/n", (char *) p->eqkid); traverse(p->hikid); [/CODE] Someone please translate it to python...

Member Avatar for tyincali
0
159
Member Avatar for kapil.tandon

hi , like i have to create a label and that label displays the total cost of a particulat think.like i do some activity A. related to acctivity A are following activities. A-a A-b A-c A-d what i hv to do is when user click on the label.it pops up …

Member Avatar for dickersonka
0
94
Member Avatar for MsWang

Hello everyone I have a problem with the connection of MS sql with the windows application problem. All i need to do is to insert something to the database table. However i'm not sure how to connect the ms sql with it. I have some codes written out, but i …

Member Avatar for dickersonka
0
214
Member Avatar for carlos_lopez_m

Hi everyone: I'm calling an Excel file from C#; now, because I Want to run automatically a Macro, I've added to my Workbook code, Private Sub Workbook_Open() the name of the routine I want VBA to execute as soon as the file is open. The problem is that C# is …

Member Avatar for carlos_lopez_m
0
146
Member Avatar for cproud21

If i have 5 int variables with values stored in them, is there a command to find the lowest valued variable?

Member Avatar for financeSEObegin
0
72
Member Avatar for StainlessSteelR

For my homework I have to create a program with functions and nexted while loops. I have got most of the program written but it's not executing how I want it to. The program is setup as a football program, (RB = Running Back it's a football playing position) it …

Member Avatar for ndeniche
0
225
Member Avatar for just11

Q) Draw an inheritance hierarchy for class Quadrilateral, Trapezoid, Parallelogram, Rectangle and square.Use Quadrilateral as the base of the hierarchy. Make the hierarchy as deep as possible. Can anyone help me to create it as a proper program?

Member Avatar for seanhunt
-1
321
Member Avatar for tatainti55

How does vertexes work? I'd like newbie friendly answers and in detail :) PS: I've already tried to google it but i couldn't find any good answers. So no "omgz google is your friendz n00b" answers please. :)

Member Avatar for Salem
0
97
Member Avatar for panpanf
Member Avatar for Ixeman

Well if you guys may help can you help with converting this to vb.net at this thread :D [url]http://www.daniweb.com/forums/post721914.html#post721914[/url]

Member Avatar for skatamatic
0
56
Member Avatar for jase728

I need help. How do you encrypt multiple lines of a text file? /********************* *Made by Jase Inc * *Made in 10/22/2008 * *Boolean Cryptography* *Using ^ operator * *********************/ #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream myfile ("text.txt"); char key[65]="jaf#$%skl%#ajlf^%dlkfhasjlk@#dsgsfsfrtw"; …

Member Avatar for dumparun
0
165
Member Avatar for puja_suri

I have to design a crystal report.All d data need to be retireved from one table only .Its basicallya report of the test paper which can consist of short answer and multi -choice question. d format which i my guide want is if the question is multi-choice Ques No. Ques …

Member Avatar for puja_suri
0
83
Member Avatar for shindog3

So I was trying to make a calender that outputs what ever month is prompted. yet this wont run, i keep getting this error 1>c:\users\lukas shininger\documents\visual studio 2008\projects\calender2\calender2\calender.cpp(151) : error C2059: syntax error : '}' [code] #include <iostream> #include <string> using namespace std; int main(){ int month,dateCount,dayCount,blankCount,totalDates,i; /*month: userinput variable …

Member Avatar for chococrack
0
186
Member Avatar for helpmeout

HI this is my first post here i am using dev c++ and i had been going through windows game programming for dummies. i am now facing a problem of how to display the text ie if the user enters a name how to display it and please tell me …

0
54
Member Avatar for sekola

i have used c++ to run windows commands in windows\system32. i am sure u r all very farmiliar with that. however, the procedure seems not to be able to access other .exe files in other folders on my machine. please advice.;)

Member Avatar for Salem
0
99
Member Avatar for RonaldvanMeer

I'm writing a program wich is using an array -> startpoint[4] this array will be later filled by values from an other array. this is not the problem! the problem begins here: I have a class: computerPlayer.cpp with a method: getStartpoint() [code=cpp] int *startPoint[4]; // global variable int* computerPlayer::getStartpoint(){ int …

Member Avatar for RonaldvanMeer
0
165
Member Avatar for wussa

Hi, I am trying to finish this small project of mine but I can't seem to solve the problem for a few days already. Its about an simple application on messaging and reading message between 2 phones but when I am doing it it doesn't seems to be too simple.:p …

Member Avatar for William Hemsworth
0
70
Member Avatar for SubProf

Hi everyone, I have a webbrowser which displays a webpage. I need to capture the text of any links that are clicked on that webpage. For example if the link 'certificates' is displayed then I need to capture the url of that link (which I can do) and the text …

Member Avatar for SubProf
0
100
Member Avatar for murderotica

Hello, I've created a windows service application that monitors a folder. Whenever there's a change inside the folder (like you created a text file or renamed a folder) it will log the changes. Now my problem is to determine that the change happened to a file or a folder so …

Member Avatar for murderotica
0
120
Member Avatar for Duki

Hey everyone, we're still working trying to get Linux to communicate to our robot via an RS232 port. We added this code to the project in Mono: [code=c#]Using System.Ports.IO SerialPort ports = new SerialPort("ttyS0",19200,Parity.None, 8, StopBits.One); [/code] We can't get anything sent out of our COM ports. We're not even …

Member Avatar for Duki
0
120
Member Avatar for Ninad16

Hi all, Just started learning C.I have some basic queries.They may sound silly to you.But please bear with me. -What is the difference between Linking,Runtime and Compilation Error? -What does getchar() actually do? -How do turbo C++ and Visual C++ compilers differ from each other?I mean...in what aspects?Do C functions …

Member Avatar for Narue
0
394
Member Avatar for Clawsy

Hello, Recently I needed to assign keyboard control to my program; so and I searched the Internet, I found many examples but it seems all have one little problem(or it's my mistake?): I use this test code: [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; …

Member Avatar for LizR
0
165
Member Avatar for oceanicblack

I have a C++ midterm due tomorrow that I can't figure out. Here is the assignment: [code] // Use the program BtoDsol.cpp located at: BtoDSol.cpp // which converts any byte to decimal // enhance the driver program to test an additional function DtoB with a prototype of: // string DtoB …

Member Avatar for stilllearning
0
229
Member Avatar for sohamghosh

I am trying to make a bank C++ program but the problem is that when the program terminates, data is lost and when I start it again, it reinitializes. Can someone tell me how to save the information in my harddrive and not my RAM?

Member Avatar for sidatra79
0
142
Member Avatar for polo_coins

I want to round number for example number 2.8 to 3 and 2.4 to 2.5 how I made so in C# I heard something about Math.Round function but it doesn't work properly Thanks Sergey

Member Avatar for ddanbe
0
505
Member Avatar for haw_x2

Hello~ I am doing my Final Year Project in my university about p2p video streaming. Since we have to write custom directShow filter so we have to write streaming using c++. I only know basic c++network programming. (1)I would like to know if there is any source code available on …

0
70
Member Avatar for T'Scoopz

Hello, I just need help converting this baby in plain old vanilla C. You can tell me the equivalents of C to C++ or whatever is more convenient for you. I'm compiling in MS Visual Studio C++ 2008 and it gives me mostly "undeclared identifiers" and "syntax errors". Thanks in …

Member Avatar for T'Scoopz
0
163
Member Avatar for quax90

Hello, I am new here. I need urgent help so I am sorry if I don`t obey the rules of this coomunity - it`s just because I am new here, nothing else. By the way, If my subject is not for this forum, I will be happy if you can …

Member Avatar for LizR
0
137
Member Avatar for algo_man

Hi there, I'm working on a client server small applicaion for file sharing. I can connect and exchange text data but I'dont know how to transfere whole file from server to client and vice versa using UDP please, give me just a small example or any reference that I can …

Member Avatar for LizR
0
86
Member Avatar for drinksbreak

Hi Everyone Ive created 2 cascading drop down lists that gets populated using the cascading drop down tool from the asp.net AJAX control toolkit, Their use is that the user will select what country they are from and then the approriate states will be displayed in the following drop down. …

0
253
Member Avatar for laxgrl22

PLEASE HELP!!! I dont know how to do this problem. Every time i try it keeps coming out wrong. PLEASE HELP. Thank you... An internet service provider has three different subscription package for its customer: Package A: For $9.95 per month 10 hours of access are provided. Additional hours are …

Member Avatar for Denniz
0
93
Member Avatar for tcoma4x4

Hello All, I have a question and need some help with a c# console application project that asks the user to enter the number of rows to calculate and display Pascal’s Triangle. What I really need help with is how to properly format the output in the shape of a …

Member Avatar for tcoma4x4
0
251
Member Avatar for polo_coins

i want some encapsulation problem int num; num=int.parse(Console.Readline()); here i have a problem if user enter a string i get encapsulation how can i solve it in easiest way my friends told me some function of try() ..catch() but I don't understood it Thanks Sergey

Member Avatar for LizR
0
78
Member Avatar for joelogs

can someone help how to develop a chat program in c. the program must run in the linux terminal and have a layout like yahoo messenger. it must have a area in which the user's can be seen, text area and an area in which one could the on going …

Member Avatar for Freaky_Chris
0
185
Member Avatar for stoymigo

Hi, I have a DataTable object , filled with rows from an excel spread. The DataTable object has 12 columns , and I need to perform this query in C# since the outputted table will not be used in SQL but saved to Excel Sheet. string stringQuery = "Select <colName1>,<colName2>,<sum(colName7) …

Member Avatar for LizR
0
66

The End.