8,298 Topics

Member Avatar for
Member Avatar for wangatang126

Can someone help me edit this program. I am a begginer in C and suck at it somewhat. I can't figure out a way to make the function work since i have to initialize s to equal u and if i initialize it in the function it will always make …

Member Avatar for Grn Xtrm
0
189
Member Avatar for afnan1

Dear Sir Any one can help me in C language please here are 2 questions and i need th solution of them very simple question beginer level See Attachment file for the questions Regards

Member Avatar for Chilton
-1
136
Member Avatar for relinx

some one help write a program to calculate the sum of the first 20 integers

Member Avatar for ithelp
-2
77
Member Avatar for abdelhakeem

hi all i need some help with time.h for in the following: i want to make a programme in which while time is 12:00 PM, It prints a Web-page USING time.h thx,,,, kim00000

Member Avatar for abdelhakeem
0
173
Member Avatar for aznswti85

I AM HAVING A HARD TIME WITH STRINGS. I DO NOT FULLY UNDERSTAND IT. THIS IS FROM A BASIC INTRO C++ CLASS HW PLEASE HELP THIS IS THE QUESTION Write a program that uses cin to read a given name (like Louis) and a family name (like Armstrong) into two …

Member Avatar for IT seeker
0
162
Member Avatar for suncity

I'm stuck trying to get a C# USB MIDI link to an Audio Mixer. Is there some sort of C# class or API that I can use to send and receive MIDI commands? Thanks.

Member Avatar for suncity
0
71
Member Avatar for manjusaharan

hi All, I m new to c#.I m using a HTML table in web browser control and wants to get the rowid of the clicked row in HTML table.bt dont have any idea how to get. IS there any method for getting the row id of the clicked cell. Please …

Member Avatar for isozworld
0
1K
Member Avatar for ashu2409

Hi, i have a window service in C#,in which i am fetching the html from diff URLs, now i need to click the button on html page for pagination. i tried with web browser, but window service is not firing the Browser_DocumentCompleted event, does C# Window Service supports Browser_DocumentCompleted event …

Member Avatar for ashu2409
0
142
Member Avatar for crystality

Hi! I'm getting this error when compiling: $ g++ index.cpp index.cpp:85: error: 'friend' used outside of class index.cpp: In function 'std::ostream& operator<<(std::ostream&, const GrabStuff&)': index.cpp:88: error: 'myLineNumbers' was not declared in this scope Links to included files: [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/mystring.h"]mystring.h[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/string.cpp"]string.cpp[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/SplayTree.h"]SplayTree.h[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/QueueAr.h"]QueueAr.h[/URL] And for fun: [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/SplayTree.cpp"]SplayTree.cpp[/URL] [URL="http://users.cs.fiu.edu/~weiss/dsaa_c++/Code/QueueAr.cpp"]QueueAr.cpp[/URL] [CODE]#include <iostream> #include <fstream> …

Member Avatar for crystality
1
735
Member Avatar for amroto

Plz guys i have a problem in my c++ simple calculator, I made everything great but i just need an important hint for my assignment that i can't figure it out. for example when i add two numbers(2+4) the result is (6)... i need the number (6) to be stored …

Member Avatar for gbantsi_2
0
130
Member Avatar for spookyfish

Im tasked with developing a simple blackjack program for a class. The program I have currently compiles and runs but it isnt paying out properly. A blackjack (21) should pay out 1.5*the wager, but it is doing it more than it should. Here is the code I have. [CODE] #include …

Member Avatar for spookyfish
0
6K
Member Avatar for arunkumars

Hi I Have a problem in Windows application in .net. I have a PDF file which is stored in my local drive. At run time i need to print that PDF Document using C#. Can you help me out from this problem ? Help appreciated.. thanks in advance..

Member Avatar for DdoubleD
0
2K
Member Avatar for NinjaLink

I had another thread before this one, but I felt that it was getting too long. Current problem: My operator== is not working properly in my program. I have done some things in my function, but I don't think it is "completely right". My program compiles fine and the output …

Member Avatar for Tom Gunn
0
1K
Member Avatar for complexcodes

Hi all, I am playing around with list and I figure out how to merge two lists and all. But I have no idea how can I integrate one list onto another. For example A = {1,2,3,4,10,11} and B = { 5,6,7} Then my integrated list should be {1,5,2,6,3,7,4,10}. I …

Member Avatar for mrnutty
0
148
Member Avatar for yugatpt

hai friends this is yugandhar, i want to learn c language so i want install c setup, wile iam installing the setup file is not installing proprally but right now iam using vista operating system can u help me any one, if u have any c language setup file send …

Member Avatar for Ancient Dragon
0
105
Member Avatar for NinjaLink

Can someone help me determine if 2 stacks are the same? I am fairly new to stacks and need help. My header file is also below. Currently I am getting an error message using "==" and "!=" in my if statement. If someone can help, I will appreciate it! Thanks …

Member Avatar for VernonDozier
0
1K
Member Avatar for tomtetlaw

When I try to compile this: [code] #define NODES_MAX 100000 extern node_t _nodes[NODES_MAX]; [/code] It gives me this error: ------ Build started: Project: TheAlienEngine, Configuration: Debug Win32 ------ Compiling... main.cpp c:\documents and settings\tom\my documents\visual studio 2008\projects\thealienengine\thealienengine\ae_3d.h(12) : error C2148: total size of array must not exceed 0x7fffffff bytes Generating Code... …

Member Avatar for rdrast
0
750
Member Avatar for seo2005

I want to write a C program to test whether the character is uppercase, lowercase, digit or special symbol. [code=c] void main () { char ch; printf("\n Enter any character from the keyborad"); scanf("%c",&ch); if (ch>=65&&ch<=90) printf(" \n the character is uppercase); if(ch>=91&&ch>=122) printf(" \n the character is lowercase); if(ch>=48&&ch<=57) …

Member Avatar for Tom Gunn
0
291
Member Avatar for nekomata

hello, I seem to have lost part of my notes an was wondering if someone could plz explain how one would use the pi formula below to display a 10000, an 20000, and a 10000 value. pi = 4(1- 1/2 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 …

0
39
Member Avatar for santhoshvarma.a

hi, i wanted to work on FormView control in asp.net with C#.So plz give me sample project with code details.Some basic infromation about FormView. Thankx & regards A.Santhosh Kumar

Member Avatar for Ramesh S
0
124
Member Avatar for NinjaLink

Hello, I need some advice to help me write a program to convert postfix to infix. However, I am having difficulty getting started. I tried to search for more information, but all I got was infix to postfix results. This is what I have so far, but I want to …

Member Avatar for tsfaridi
0
199
Member Avatar for Gem74

when I compile, there are no errors, but when I run the program it tells me there are build errors and then "the system cannot find the file specified." I have copied and restarted a new project, then new item and still get same error message. Can someone tell me …

Member Avatar for Gem74
0
203
Member Avatar for NatalyC

Hello everybody, :) I'm trying to import an access database to mySQL by using c#, I'm using this software: MS Access to MySQL from Bullzip, and it seems to be working ok; by using c#, I can display all data from tables, using this connection: [CODE] private void btndisplayBooks_Click(object sender, …

Member Avatar for NatalyC
0
2K
Member Avatar for XodoX

Hello, These 3 codes had 5 syntax errors in each of them, but I don't think I found them all. Can somebody help me with this? [code] class AA { public: void print( ) const; int sum(); AA(); private: int x; int y; }; class BB { int one; int …

Member Avatar for XodoX
0
63
Member Avatar for sharkman

Please help quickly! I'm on short notice here. I'm making a C++ program for a project, and the computer I'll need to run it on does not have a compiler. I am currently using Microsoft Visual Studio 2003. I would very much like to turn this file into an executable …

Member Avatar for sharkman
0
180
Member Avatar for raigs

Does C++ wait for a *system* shell command to finish before executing the rest of the C++ code? (The shell script does not output any text, it simply executes *find* to *rm* files.) I'm saying this because the shell script [U]may[/U] take a long time to find and delete all …

0
64
Member Avatar for restrictment

Hello all, I am currently making an rpg type game in C++. The code is bellow: [code] #include <stdlib.h> #include <time.h> #include <iostream> #include <fstream> #include <string> #include <windows.h> using namespace std; int main() { int person, opponent, atk, asuccess, msuccess, game = 1, counter1=1, level = 1, atr, a, …

Member Avatar for Clinton Portis
0
153
Member Avatar for dylank

Hi, I am a begginner programmer that is attempting to create a program that will spit out the (x,y) plots for a graph. Currently, I only need it to give me the x and y data in (x,y) form, so here is my current code. By the way, I am …

Member Avatar for jonsca
1
153
Member Avatar for dylank

Hi, I am trying to read a webpage, namely a PHP page that returns "true" or "false" depending what $_GET (Or is it $_POST?) information is sent. The URL it attempts to read will look like this: [ICODE]www.thesite.com/key.php?key=the_key[/ICODE] and the page will return a true or false. I currently have …

Member Avatar for dylank
0
1K
Member Avatar for ashwini jadhav

hi, i am new in programming. i know that c++ used in development of games.so,i want to also some simple games to develop.please give some question for developing game? thank's

Member Avatar for ashwini jadhav
0
93
Member Avatar for ddanbe

Hello everyone! I know how to use a Timer class: [CODE=C#]static void Main(string[] args) { System.Timers.Timer MyTimer = new System.Timers.Timer(); MyTimer.Elapsed += new System.Timers.ElapsedEventHandler(MyTimer_Elapsed); MyTimer.Interval = 2000; MyTimer.Enabled = true; //etc. } static void MyTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { //do something every 2 seconds }[/CODE] What I like to do …

Member Avatar for ddanbe
0
2K
Member Avatar for vegaseat

A small Windows Application to show you how to play a wave (.wav) sound file. I am using the C# IDE from SharpDevelop and the runtime dotnetfx 1.1 from Microsoft, both free downloads. This forms a small and fast student system to write and debug C# programs. From there you …

Member Avatar for ashley dane
0
1K
Member Avatar for ankur1188

i was trying to connect two computers.. i used synchronous server and client with the help of some socket programming.. but whenever i try to connect to the server which is on a remote computer an exception is thrown whereas it works fine if both server and client are on …

Member Avatar for sknake
-1
1K
Member Avatar for rechene
Member Avatar for Unix*
-4
105
Member Avatar for kazit

Hi I have a problem which i cant seem to solve or font really know where to start im only starting learning c# so dont have a lot of experience. Basically my problem is that i intend to loop through a directory of .tif images which contain BW and Colour …

Member Avatar for rajishms
0
197
Member Avatar for racumin

Hi, from my understanding, if you initialize an object without the "new", it will be only saved in the stack. If the method exits, the object is destroyed. Is that correct? What about this code? [CODE] int main() { string xxx = getText(); cout << "from main() " << xxx …

Member Avatar for mrnutty
0
133
Member Avatar for dlayante

I am just new in C#, somebody can you give me code for MS SQL server connection, on how to call records, add, edit and delete records...THANK YOU

Member Avatar for DanielGreen
-1
125
Member Avatar for dylank

Hi, I was hoping someone could help me with a C++ string problem. I currently have my program open up a file, read the contents into a string, and then I am trying to look for certain key characters in the string, like < and </. In short, I am …

Member Avatar for Clinton Portis
0
383
Member Avatar for twilitegxa

I have the following form, but my data is not getting inserted into my database. Can anyone help? [code] <%@ Page Title="Dorknozzle Help Desk" Language="C#" MasterPageFile="~/Dorknozzle.master" AutoEventWireup="true" CodeFile="HelpDesk.aspx.cs" Inherits="HelpDesk" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <h1>Employee Help Desk Request</h1> <asp:Label ID="dbErrorMessage" ForeColor="Red" runat="server" /> <p> Station …

Member Avatar for Ana D.
0
213
Member Avatar for srmcsclab

// try out //Program - 5.4 # include <iostream.h> # include <conio.h> void main ( ) { int x[5] = {1,2,3,4,5}, y [5] = {5,4,3,2,1}, result [5] = { 0,0,0,0,0 }; int i= 0; while (i++ < 5) result [i] = x [i] - y [i]; clrscr ( ); cout …

Member Avatar for tomtetlaw
-3
294
Member Avatar for Phil++

Hello, I'm wonder what static references are. Are they like: [code] static int number = 0; [/code] I'm really confused. Thanks for any help.

Member Avatar for Phil++
0
150
Member Avatar for itslucky

Dear Friend, i have a crystal report, in which i have amount of Different Items, now i want to calculate total amount of all that items and show Total Amount at the end of the Report. so please tell me how can i calculate Total amount of different items in …

Member Avatar for itslucky
0
90
Member Avatar for scvinod

I have a string like "system\admin". Now I want get the "admin" part alone from the string using IndexOf() method.Can anyone please help me out.Thank you.

Member Avatar for Rashakil Fol
0
265
Member Avatar for Lohith_prakash

Hi, I want the program code for the below question. Write program to create a class called Student including functions like get_data() and put_data() to get marks of student and display it. Thanks & Regards, Lohith

Member Avatar for Ancient Dragon
-4
52
Member Avatar for stoymigo

Hi , I am busy converting a VB6 project to c#. Now in vb6 , the columns have intellisense like so... [code=VB] rsIBBSData!DrOrCr = 1 'rs is the recordset [/code] But in c# , i would either have to create an sql query , or use datarow with a column …

Member Avatar for stoymigo
0
186
Member Avatar for umairraja52

I want to develop my website using ASP.net but which is best and easy to use with ASP.net C# or VB.net.

Member Avatar for mail2saion
0
54
Member Avatar for cfuilip

our lecturer want us to find a topic which we need to present next week... the program must include file handling... any idea for the topic ... and kindly show the example

Member Avatar for Shillz
0
82
Member Avatar for uttara

Hi frnds, May I have the code of the below program. The program to get the source code as output.

Member Avatar for csurfer
0
73
Member Avatar for StaticX

Hi, I am trying to write a simple program that stores a user input in a c-string,and will then print out each character (I)diaganolly across screen and (II) each character on a new line. The problem im having with this,and with c strings entirely,is that it keeps printing out random …

Member Avatar for StaticX
0
113
Member Avatar for tux4life

A small function which reverses a c-string by just swapping the elements :) ... Usage:: [CODE=C++] char[] str = "hello"; reverse(str); // str now contains "olleh" [/CODE]

Member Avatar for Nick Evan
0
1K

The End.