8,298 Topics
![]() | |
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 … | |
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 | |
some one help write a program to calculate the sum of the first 20 integers | |
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 | |
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 … | |
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. | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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... … | |
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) … | |
![]() | 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 … |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
write a function that determine whether a number is prime. | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
// 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 … | |
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. | |
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 … | |
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. | |
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 … | |
I want to develop my website using ASP.net but which is best and easy to use with ASP.net C# or VB.net. | |
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 | |
Hi frnds, May I have the code of the below program. The program to get the source code as output. | |
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 … | |
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] |
The End.