8,298 Topics

Member Avatar for
Member Avatar for C++ Beginner

Heres the homework problem: Write a program that displays the status of an order. The program should have a function that asks for the following data: 1. The number of spools ordered 2. The number of spools in stock 3. If there are special shipping and handling charges (Shipping and …

Member Avatar for sfuo
0
3K
Member Avatar for dondulla

hi, unfortunately i need a bit of help with a config for a program that an ex-employee of ours wrote. Basically, the program verifies itself on a website and verifys one specific type of bluetooth hardware is connected. we have recently changed hardware suppliers and need to take the requirement …

Member Avatar for NicAx64
0
117
Member Avatar for chet6

Hi, Could anyone please explain how the memory allocatio is done in case of double pointers?

Member Avatar for manutm
1
137
Member Avatar for GagandeepKaur

Hi, im trying to calculATE DFT through this code, i dnt know what's wrong please enlighten. Thanks [CODE]#include<conio.h> #include <math.h> #include <complex.h> main() { int m,n,r,N,j; float l,o; float complex x[1000]; float real, imag; { for (m=1;m<=10;m++) { for (n=1;n<=10;n++) { for (j=1; j<=10;j++) N=1000; r=1/N; l=sin(3*j); printf("the value of …

Member Avatar for GagandeepKaur
0
204
Member Avatar for varun_p_n

I have a com component that logs error details. I wan't to delete the log files that were created one month back. Where this code has to be written ? I mean it should be run only once when the COM compponent is loaded for the first time.

Member Avatar for Ancient Dragon
0
397
Member Avatar for racumin

Hi, in java, I can use packages to combine classes which have similar traits. For example, I have a package "worker" and classes in this package contains "Programmer.java" and "Designer.java" I want to know how to do this in C++. What I did was this: 1. created a source folder …

Member Avatar for Ancient Dragon
0
96
Member Avatar for vijaykalmani

Please help me on 1) C++ pgm to reverse a linked list 2) Given 2 lists L1 & L2, create a 3rd list which is intersection of L1 & L2 3) Given an infix evaluate it without converting it to postfix (hint use 2 stacks)

Member Avatar for vijaykalmani
-2
101
Member Avatar for gogodr

I'm developing a 3D Board Game based on the World of Warcraft miniatures board game. I don't know what's wrong ... the game runs and the system is like this I have a model that can move in a map through Cells I made a procedure so you click and …

Member Avatar for gogodr
0
152
Member Avatar for xacronyx

Hi! Does anyone know how can I make my own defragmentation tool in C# ? (similar with the windows one).

Member Avatar for xacronyx
0
48
Member Avatar for Wtyy

How to print this pattern use "for" ??? [IMG]http://ser1.share.ysk.cc/upload/photo/20091112/754158.JPG[/IMG] :?::?::?:

Member Avatar for Wtyy
0
89
Member Avatar for th3learner

[icode]a = int.Parse(textBox1.Text); b = int.Parse(textBox2.Text); c = a(int.Parse(comboBox1.Text)); textBox3.Text = c.ToString(); [/icode] I am inputing 2 values in a and b ....and through combox1 I am doing calculations Thanks

Member Avatar for ddanbe
0
111
Member Avatar for roger.hungchan

I don't know how to write a c++ program to execute the following operations. could anyone help me?? Write a C++ program that opens a comma-separated values file and performs various functions on it. The first line is a header containing the names of the fields. The available fields are …

Member Avatar for Ancient Dragon
0
128
Member Avatar for BosByte

Hello, Please take a look at this well-known 'problem': [CODE]class A{ B * foo(); }; class B{ A * foo(); };[/CODE] Its solution is simple: add "class B;" above A. But I've got a smilar, but more complex, problem: [CODE]class A_1 { virtual B_1 * foo(); }; class B_1{ virtual …

Member Avatar for StuXYZ
1
110
Member Avatar for rutaba

Hi.. I want to know that how to create a program using VISUALSTUDIO2005 and creating some windows application in layers .. I basically want to know the steps that at first i hav to creat which file nand after that which one and so on.. I reall need help of …

Member Avatar for DdoubleD
0
187
Member Avatar for ivicaolic

Hi! I'd like to create a team of 3-5 junior developers that would like to work on small projects. The emphasis is on learning, and luckily making some money out of it. CRITERIA: - Work from home. - Fluent in English. - Some experience in web application programming, using VS.2008 …

Member Avatar for Diamonddrake
-2
94
Member Avatar for LennieKuah

[B]Hullo there,[/B] [B]C#Net 2003 Window Application [/B] I need your help again. I am trying to loop through the DataGrid rows and confirm that FirstColumn which hold Checkbox is TRUE. If it's TRUE, I need to retrieve the Customer FirstName(2nd Column) and LastName (3rd Column) and transfer the data onto …

Member Avatar for Geekitygeek
-1
308
Member Avatar for abhay1234

Hi. i am trying to learn c# I have newly installed Visual studio dot net 2005. i typed the following program but not getting ouptut i did file->new->file->visual c# i tried the following code [code] // Namespace Declaration using System; // Program start class class InteractiveWelcome { // Main begins …

Member Avatar for abhay1234
0
130
Member Avatar for twilitegxa

How can I write an event that does a specified calculation when an option is selected that the submit button is selected? Say I have the following code: [code] <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" runat="server"> <asp:ListItem>Go swimming</asp:ListItem> <asp:ListItem>Play sudoku</asp:ListItem> <asp:ListItem>Practice piano</asp:ListItem> <asp:ListItem>Play solitaire</asp:ListItem> </asp:DropDownList> <br /> <br /> <asp:Button …

Member Avatar for srikanthkadem
0
123
Member Avatar for meaf

Hi , I'm a beggener in C# and i have an assignment about Linked List, i have been asked to do it in GUI . i managed to add the node and move around one to another, now i am suppose to update the node but really don't have clue …

Member Avatar for DdoubleD
0
96
Member Avatar for mkamioner

Hi All I am looking to be able to get the length of any audio file in seconds. Formats are WAV, MP3 and DSS. Is there anything like this... [CODE] int seconds = myFile.AudioLength(); [/CODE] Any help would be appreciated Mike

Member Avatar for DdoubleD
0
4K
Member Avatar for nedsnurb

Hi Guys, I am writing a program which enables the user to enter a size for a square and then they can choose to output it in several ways, clear filled horizontal/verticals lines. The first two I have manged however the latter horizontal/vertical I cant quite get right, as they …

Member Avatar for VernonDozier
0
79
Member Avatar for GradStudent

I am trying to develp a webpage that takes in TO and FROM Addres and displays the Google Map as well the directions. I understand JScript helps out with the Google Map display and I played around with the URL google.maps.com to get the directions. Now my issue is I …

Member Avatar for kvprajapati
0
384
Member Avatar for moorcroft

Hi, I have a solution set up in .Net with a website. Each page is written in aspx and each code behind file are in the format of aspx.cs. For some reason when I build the solution it builds successfully although does not compile these code behind files to a …

Member Avatar for moorcroft
0
603
Member Avatar for newcpp

I have a problem when handling the txt file in C++. My code is like this, and the test.txt file is in the attachment. there are two functions: [LIST=1] [*]int txtnum(ifstream& input, char* filename ) is to count the amount of numbers list in the txt file. [*]long filesize( ifstream& …

Member Avatar for Ancient Dragon
0
139
Member Avatar for fawkman

Hi guys, I am working on a conversion of the Mandelbrot Fractal from Java to C# and my programming skills are lacking quite a bit. I am desperately trying to improve but I have come across some errors that are stumping me. I have attached a txt file with the …

Member Avatar for fawkman
0
660
Member Avatar for NinjaLink

I recently have a thread open, but I feel it is starting to get too long, and the topic is kind of old since I have a new problem now. What I am trying to accomplish here is determining whether a word is a palindrome using queues. My program compiles …

Member Avatar for NinjaLink
0
199
Member Avatar for dylank

Hi, I am creating a crackme (or possibly keygenme, if i feel like it) that realys on a IsDebuggerPresent call to see if the user has olly or another debugger open analyzing it. My current code reads as follows: [CODE]#include <windows.h> #include <stdio.h> #include <iostream> #include <ctime> using namespace std; …

0
110
Member Avatar for orangejediman

Hello,all! I am attempting to make a program in which tetris music is played. However, to get the full effect, I need more than one beep at a time. I cannot use the getsound thing either, i am not allowed. It has to be using 'Beep()'. Is this possible, and, …

Member Avatar for mrnutty
0
100
Member Avatar for AdRock

I don't know if this is the right board for this but here goes I have finsihed writing my program and it compiles fine on windows using the MinGW compiler. Ihave it compiling and running fine I tried compiling on a linux machine to create an executable but i an …

Member Avatar for AdRock
0
177
Member Avatar for crazyboy

In my program this statement.. [code]FileStream fs = new FileStream(@"C:\SQL.txt" , FileMode.Append, FileAccess.Write);[/code] shows me error... illegal character in path. is there in problem in path ... please quick reply .. thnks ..

Member Avatar for crazyboy
-2
138
Member Avatar for debasishgang7

hi i want 2 know ho to make Instant Messenger client with c++. pls. provide web resources if available.., .. pls..

Member Avatar for kabeer.khan
0
2K
Member Avatar for Natsu29

Hello all! Looking for some help with this, I've been using a book to make an sql database to store names, and was hoping to use a button to randomly select any of the names in the database to be allocated to one of two machines. Also there is a …

Member Avatar for Natsu29
0
136
Member Avatar for liemonline

Hi, I'm a beginner to C++. I'm writing a linked list template but I get this error: 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::~List<int>(void)" (??1?$List@H@@QAE@XZ) referenced in function _main 1>Tester.obj : error LNK2019: unresolved external symbol "public: __thiscall List<int>::List<int>(void)" (??0?$List@H@@QAE@XZ) referenced in function _main I'm using Visual …

Member Avatar for jonsca
0
1K
Member Avatar for gretty

Hi I have downloaded an editor called OceanTiger CSDesigner & it has no compiler with it. I have read the sticky posts, & I know that I could use netbeans or microsoft visual instead but I want OceanTiger because its small like Dev c++ & doesn't uses heaps of memory …

Member Avatar for thines01
0
153
Member Avatar for LennieKuah

Hi there, Please help me. I am having problem trying to include Checkbox in 1st Column in DataGrid for all the Rows. Being a newbie and I am struggling doing it. I need your help.

Member Avatar for LennieKuah
0
196
Member Avatar for briantrumpet

How do you stop forms from being movable and resizeable after you have maximized them in code.(this only happens if the maximize box is disabled) If you maximize a form with the maximize button it does not let you move or resize the form.

Member Avatar for DdoubleD
0
1K
Member Avatar for NinjaLink

Hi all, I am trying to reverse the numbers in an array using recursion, however, I am receiving an error that I can't figure out. If possible, I need some assistance on it. [B]Error:[/B] line 27 incompatible types in assignment of `int' to `int[5]' [I]intArray = reverseArray(intArray,low,high);[/I] line 57 invalid …

Member Avatar for basitkhan
-1
2K
Member Avatar for adino2

Hi , just would like to ask on a few questions Is it possible to make a voice to text system without using the Speech SDK ??? If yes, can anyone provide me with the info on that? What can be used?

Member Avatar for Diamonddrake
0
82
Member Avatar for ranjithgoud

hi guys, i am ranjith intrested in writing c c++ progs i hav a doubt that can i write a c or c++ program to excute at a given time thanks

Member Avatar for abdelhakeem
0
924
Member Avatar for wangatang126

Hi i have a binary function search program where the user enters a index of numbers, then enters the number he wants to find. However my program wont compile and says the subscripted value is neither an array or pointer. Help me out please. Here is what ive got: [CODE]# …

Member Avatar for stephen186
0
104
Member Avatar for johnroach1985

Hi. I would like to create a 3D desktop environment like the one done in [url]http://www.real-desktop.de/[/url] please check it up. However I do not know how to start... I thought of creating a a huge form that is always on the top and calling short cuts when someone clicks on …

Member Avatar for bk_bhupendra
0
394
Member Avatar for venkates.99

Hi all, my code is like.. [COde]string strConn; strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=C:\\ifocus\\Excel Worksheet.xls;" + "Extended Properties=Excel 8.0;"; OleDbDataAdapter myCommand = new OleDbDataAdapter("SELECT * FROM [Sheet1$]", strConn); myDataSet = new DataSet(); myCommand.Fill(myDataSet, "ExcelInfo");[/code] and My EXCEL data is like ------------------------------------------------------------------------------------- Gold --- [B]in@GLDM.1[/B] -- 14,917.00-- [B]Gold MCX[/B] -------------------------------------------------------------------------------------- ALUM--- …

Member Avatar for Geekitygeek
0
1K
Member Avatar for nccsbim071

What is the difference between following declarations: [CODE=C#] WebUserService.Service.IUserService userService = new WebUserService.Service.UserService(); WebUserService.Service.UserService userService = new WebUserService.Service.UserService(); [/CODE] I want to know the difference in usage and the the one that is most efficient in terms of programming in C#.

Member Avatar for nccsbim071
0
119
Member Avatar for debasishgang7

Hi all I want to make an Instant Messenger Client(like gtalk)with c++. any one know something pls. help me out. if you know any available web resources pls. let me know about that .... I need only the code.I dont want the GUI prog.. pls.. pls..

0
103
Member Avatar for dylank

Hi, I have a program that I am using to convert a string into binary. My current code is as follows: [CODE]int main(void) { string userInput; cout << "Enter a string to be converted:" << endl; cin >> userInput; for (int index = 0; index <= userInput.length(); index++) { cout …

Member Avatar for dylank
0
162
Member Avatar for hakan5

Good day. Here's my code. My uncle helped me with it for days but he's now out of the country for 2 weeks. I'm looking for help to improve this project of mine with mutex and semaphores. I've never used them before and I'm a little confused. I'm running this …

0
55
Member Avatar for vikasbe

hello, i m using c# and vb both in my web project. it gives error when connectin c# page with database. it is not taking any label taken in c# page. can anyone help me.

Member Avatar for kvprajapati
0
35
Member Avatar for kool.net

hi, I want to access ini file in my application , which asked for the centre ID b4 login & starts, it asked this only for one tym when it start at first tym & never asked this question again. The second reason to use ini file is , i …

Member Avatar for milosz
0
1K
Member Avatar for HypnotiqBIG

Hi, I have an assignment where i have to write a C and assembly mixed-mode program. [LIST=1] [*]The c program takes in two characters which stand for two hex characters. [*]The assembly procedure then passes each character in turn to a C function which determines if the character is a …

Member Avatar for HypnotiqBIG
0
223
Member Avatar for ganbree

I'm trying to advance my understanding of how computers and compilers work. Given the C++ program bellow with exceptions and runtime typing turned off and no optimizing that removes main or makes it into a non-standard function. [code=c]int main() {return0;}[/code] Produced an disassembly with the following code for main: [code=asm]pushl …

0
83

The End.