8,298 Topics
![]() | |
Hi, I transferred Uni, and got an advanced standing for some prior study, but the current unit I am enrolled in builds on an advanced understanding of ADTs (and link lists etc). Problem is that - I have not previously learned this information. My unit text - Algorithms in C … | |
I am trying to make a program so that you can enter your name, but I want to limit the amount of characters used to 10. This is what i have so far, and when i press backspace on my program, it doesn't delete the previous character but moves the … | |
Hi everyone, I am having problems with my c++ code for about 2 - 3 hours now and decided I need help. I am a student at a college and I am trying to code this for my assignment. cpp file:[CODE] #include "bridgehand.h" BridgeHand::BridgeHand() { for (int x = 0; … | |
i have created ms word document dynamically with text area tag through c# code in asp.net let me know how to lock/protect the document by code, so that no one can change the style of it.. except text area content. | |
Hi, Thanks to the help on my other posts I am starting to be able to manipulate Excel through C# quite successfully. My new question is: I am just about to register a domain for the purposes of personalised email. I don't have any particular need (at the moment) for … | |
been doing reiew questions to prepare for a c++ test, and was hoping someone could help me out by looking over the ansewers i have so far. what i have is in red. thank you very much :) -- Which of the following operations has the highest precedence? a. Postincrement. … | |
Hello, I'm new to programming forums so go easy on me :) I'm working on an assignment for school. I have to read a quiz.dat file which cotains info in the format of: TTTTTFFFFFTTTTT TTTTTFFFFF TTTTJoe Jones TTTTTFFFFFT TTFMary Jane ... ... etc. The first line being the answer key … | |
got some noob c++ questions that hope someone can help me with ---The statement while ( --counter >= 1 ) counter % 2 ? cout << "A" : cout << "B"; cannot be rewritten as: a. while ( --counter >= 1 ) if ( counter % 2 ) cout << … | |
Hi I am trying to get this program to work to insert a node into the list and move the list down so the node will fit. I get the node to be inserted into the right place but the list is copied as such. if 1. joe 2. linda … | |
Hi, I want to extract text from PDF in C# asp.net. I am using this code as following link :: Link:: [url]http://www.codeproject.com/KB/cs/PDFToText.aspx[/url] But this code is not working properly. The main problem is that when i get output file they have no that content which are in Inputfile. Is there … | |
I found this code somewhere on the net... But i dunno how to stop this...Its keeps animating and i dont know when will this stop... [CODE]#include <stdio.h> #include <time.h> void sleep ( long milli ) { clock_t end, current = clock(); for( end = current + milli; current < end; … | |
Hi! I'm just started learning C++ and i tried to do a calculator for fun. I did not succeed :$ There is an error here that i cannot find... Please, if you find it let me know :icon_smile: [CODE]#include <iostream> #include <cmath> using namespace std; int main() { double num1; … | |
Hello there. I don't know if this should actually be posted in any of the C/C++ forums, but it is mainly an Assembly question so I take my chances here. In C/C++ it is possible to declare local variables as: [CODE=C]if(statement){ int var; // Use of the variables }else{ // … | |
I Got 2 tables: 'Standby' and 'Usage' [COLOR="Red"]Standby[/COLOR] Table got this fields: [COLOR="Red"]PartNº[/COLOR] (equipment id); [COLOR="Red"]Area [/COLOR](physical location); [COLOR="Red"]Stock1[/COLOR] (Nº Total of equipments); [COLOR="Red"]Usage[/COLOR] table got this fields: [COLOR="Red"]Quant_Used[/COLOR] (The times that the equipement is taken from Standby); [COLOR="Red"]Quant_Received[/COLOR] (The times that the equipement is restored to Standby); [COLOR="Red"]PartNº[/COLOR] (foreign … | |
Sorry for my bad english! Well, my problem is this: I have 2 tables: "Standby" and "Usage". Standby store all the equipements. Usage store the times that the equipement is used (replaced) and received (placed) in Standby. My problem is there: [CODE]Select Standby.PartNº,Standby.Stock1, Standby.Stock1 - (SUM([Usage].Quant_Used)-SUM([Usage].Quant_Received)) as [No Exterior], Standby.Area … | |
Hi! I need help for my c++. This is the code: [CODE]#include<iostream.h> #include<conio.h> void box(int x, int xx, int y, int yy); void box(int x, int xx, int y, int yy) { int xs,ys,i,j; xs=xx-x; ys=yy-y; for(i=1; i<xs; i++){gotoxy(x+i,y);cout<<"Í"; gotoxy(x+i,yy);cout<<"Í"; } for(j=1; j<ys; j++){gotoxy(x,y+j);cout<<"º"; } for(j=1; j<ys; j++){gotoxy(xx,y+j);cout<<"º"; } {gotoxy(x,y);cout<<"É"; … | |
Alright guys, I have a really weird error here. I'm programming a program that lets you specify the red, green, and blue components then stores them in arrays and uses the colors when drawing shapes. The program worked perfectly until about five minutes ago. Nothing affecting that specific part of … | |
Hello i am trying to construct a class for the first time...its called Field and is very similar to a vector in that it tries to store an array of double.. i am not able to compile the code..i get the error that field.h does not exist..pls see if u … | |
can anyone help me!? i have to create program to search word from text file, but i don't know how can i match word from input to text.. Can anybody help!!!?? | |
I just need some clarification on what my homework assignment is telling me to do. Ok, this is the homework question: Write a program that reads a key pressed on the keyboard and displays its code on the screen. Use the program to determine the code for the Enter Key. … | |
I am running Windows 7 on one machine and Linux Debian on another. I am creating a C application using NetBeans. It seems to be working just find on Linux when I run it there. But when running on Windows, messes up the output somehow, kinda prints the output more … | |
hello everyone, have a c++ test coming up and i am completing some practice problems, wondering if could look over what have so far what i got is in red. if see errors plse help me out | |
Hi! I need help! I need to create a program in c++ that ask a question, there is a multiple choice, display if your answer is wrong or correct. Like the gameshow "Who wants to be a millionaire" and included "LIFELINE" I tried and it runs but when I chose … | |
Hello I would like to program my own 2d game into C++. I know its hard I know it needs a lot of time but I strongly believe the only way to learn c++ is to program so if you won't swim deeper you will never learn to swim. I … | |
Hi guys, I am trying to make a chat bot on Omegle, (sort of line SmarterChild on MSN, but for Omegle). Anyway, my problem is when I send my HTTP post, I am not receiving any data. I call recv, but it does not send me any data. When I … | |
Hi , i have created word document dynamically and sending with email as attachment in c# asp.net. the created document contains html controls like text area. My Requirement is once email send to a person.. the person has to enter only in the text area .. he cannot do any … | |
what program will use with to problems.... write a program that will convert decimal to words... maximum exceed 3000. ex. 300= three hundred 32=thirty two 1002= one thousand two write a program that will convert a decimal to roman numeral.. maximum exceed 3000. 1= I 5= V 10=X | |
Hi im continuing to practise for c++ for when I go to uni next year and i have a problem with a practise example I have been given. I have set it up so the user can define the shapes and size etc, but I am unable to work out … | |
hi there, im very much new in programming, and i'm having a hard time in comparing two datafiles using c#, when im adding the while loop it doesnt work, but when i remove it, it compares the first line of my datafile, what i want to do it to compare … | |
Hi All, Does anybody know how to [B]defragment windows registry[/B]. We googled and found several free tools doing the same.But no tool is having open source. One tool is there - '[U]UltraDefrag[/U]' which is open source tool written in 'C' for file defragmentation. Please provide help in searching open source/ … | |
Hey there guys, this is my first post and yes it's because I need help. I am not straight out asking for someone to do my work for me, I can get my work done for me at any-time no problem but then I won't learn and learn is something … | |
Hi, im fairly new to c++.I have a variable in my while loop that gets the x position of the mouse and constantly refreshes and outputs to the screen. My problem is that i want to get the exact x position wherever the mouse is when i press the 1 … | |
Hi, I'm hoping someone can make sense of this... I'm trying to use WMI to get file information from a specific directory on a remote machine using CIM_DataFile. I can get all of the files on the on the remote machine using: System.Management.ObjectQuery oq1 = new System.Management.ObjectQuery("SELECT * FROM CIM_DataFile"); … | |
Hi! I need help for my homework in c++. My professor wants us to write a program that ask a question and there is a multiple choice and the answer. like the gameshow "Who wants to be a millionaire?" Please give me some example.. (^_^) thank you so much! | |
Here is an example - Assuming the following messages appear in a label: [B] You have 3 messages to post![/B] Once a user post a message/comment, the above message goes away and the following one is shown: [B]Your message is posted successfully![/B] Then the message fades away and the following … | |
Each of the two food stores, A and B, of the same company has a list of products that are available in its stock. We assume that the standard input contains NA records for food store A and NB records for food store B. Each record describes the code of … | |
A positive integer number n is said to be perfect if it is equal to the sum of its proper divisors. In other words, n is equal to the sum of its positive divisors excluding itself. For example, 6 and 28 are perfect numbers. Indeed, we have: 6 = 1 … | |
HI, I am quite new in this field.I am developing one C# web application .can you help me with following stuff. I want to Display images from a folder which contains nearly 1000 images. That image files in folder(means image itself) has names like 15_1,15_2,15_5,15_40,18_1,18_3... where first field is id … | |
this is my coding ..i want return the datarow another form .another form coding i was attached ....please tell me ... replay Quickly... [code] private void grdClientDetails_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e) { //DataTable dt = new DataTable(); //dsClientDetails.Tables.Add(dt); DataRow[] dr; dr = dsClientDetails.Tables[0].Select("ACCNUMBER=" + grdClientDetails.ActiveSheet.Cells[e.Row, 1].Text); return dr; this.Hide(); } public … | |
Hi! I get an assignment where I should create c# wrapper class for sdk written in c++ which contains bunch of dlls, libs and hpp files. Can you give me some directions how shall I do it? I didn't have luck from google-ing. Regards, DSA | |
Greetings, I'm working my way through the Head Start C# book, and I know that whenever I open a stream [CODE=c#]Stream reader = File.Open(filename));[/CODE] I [B][I][U]ALWAYS[/U][/I][/B] [CODE=c#]reader.Close();[/CODE] my stream. The book also lets you know you can use a using block [CODE=c#]using (Stream ...) { }[/CODE] and the stream will … | |
I want code to copy word text content into texbox using c# code in web application right now i have code for windows application. [code] using Microsoft.Office.Interop.Word; private void readFileContent(string path) { Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass(); object file = path; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open( ref … | |
I am creating an application that has a thread which constantly moves the contents of one folder to another (Using Visual Studio, Compact Framework) I start the thread like this [CODE]public static class Program { /// <summary> /// The main entry point for the application. /// </summary> /// [MTAThread] public … | |
I am newbbie to C# gridview Please can anyone give me the complete detailed gridview with some explanation something like how and when databound,e.t.c events fire, and some basic terminology associated with grid view like rowindxes,row.edititem, e.t.c please kindly do the needful as i have to implement it in my … | |
Hello All, I am presently working on a developed website and want to add some functionality to it. I have a file called AssetPreview.ascx and the code behind the file as AssetPreview.ascx.cs Now, i added something to the ascx file like, [code] <a id="test" onclick = "temp()" runat="server" >Click here … | |
heres my code. i need a triangle that looks like: **** _ *** __** ___* but mine looks like: **** *** ** * can anyone help ? [CODE]void drawTriangle(){ //function to hold triangle code char c; //variable to hold character to make triangle int height; //variable to hold height of … | |
Rational fractions are of the form a/b, where a and b are integers and b≠0. Suppose a / b and c / d are fractions. Arithmetic operations on fractions are defined by the following rules: a/b + c/d = (ad + bc) / bd a/b – c/d = (ad – … | |
i want that when i click NewToolstripbutton it run active child form newbutton procedure Note: newbutton is a userdefine Procedure. Help if any body known Ammad Iqbal | |
I am looking to take a course in C++, but is that language popular now, or is everything more C? Please advise. |
The End.