8,298 Topics

Member Avatar for
Member Avatar for Adeel Rahat

i am using turbo c++ 3.0 but it has not good graphics.i try visual studio and dev c++ but its syntax is changed. i want a compiler that has same syntax like turboc++. plz name it and give me a dowload link for 64bit os.

Member Avatar for ddanbe
0
328
Member Avatar for Andy90

Hi, I recently developed a program which has source and header files in vc++! what I want to do is convert the same in C#. I got the idea of source files but how to import/use header files in C#(I want seperate file for class creation/ data initialization like header …

Member Avatar for JMC31337
0
15K
Member Avatar for mustafa.bahaa

hay guys iam new to c++ programming studing for c++.com iam getting to a point that i wirte a program and it doesn't run and i can't find anything realted to it , to know where is the problem so that's the program // cin with strings #include <iostream> #include …

Member Avatar for mustafa.bahaa
0
220
Member Avatar for arjun.godara.549

hi, i am begginer, want some help in following questions. 1.write a program for to store five values in array and print them using loop. 2.write a program for to store and display the 2D array. 3. print diagonal element of matrix.

Member Avatar for Ancient Dragon
0
81
Member Avatar for khan shahid
Member Avatar for vishal anand.s

Hi i have a problem in binding DateTimePicker value from one form named SearchDoctor to existing form named Doctor. Here is the code of my Doctor form and it works: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Data.Sql; …

Member Avatar for Maligui
0
675
Member Avatar for tauqeer381

I want to make an import export company desktop application. But i am getting problem in making the design of the application. can anyone please help me regarding this???

Member Avatar for Maligui
0
182
Member Avatar for nitish.mohiputlall

I am having 4 errors with the main program and i dn't know how to slove it anyone to help me how to solve the errors and how the codes was suppose to be correctly typed: 1.error: 'salaried' was not declared in this scope (line 5) 2.error: expected primary expression …

Member Avatar for Moschops
0
2K
Member Avatar for mansi sharma

I want to fill GridView ,But i dont want to use datasource..I want to use the method,thru which i add the data using row by row As in VB.net [code] Dim row0 As String() = {"A","B","C"}; Me.DataGridFile.Rows.Add(row0) [/code]. [code] public partial class refresh : System.Web.UI.Page { string query; SqlCommand cmd; …

Member Avatar for brianmanee
0
1K
Member Avatar for asmaa_4

I Want to know that what the difference between int and longint is Although they have the same siza (4 bytes)

Member Avatar for yasir prince
0
114
Member Avatar for amcath

Hi Could you please tell me how to solve this simple problem in c++. #include<iostream.h> #include<conio.h> void main() { clrscr(); int a=5,b=3; int y=a-b++ * --b; /* manually I get the answer as 6 , but the compiler gives as -4 . how?*/ cout<<y; getch(); }

Member Avatar for deceptikon
0
247
Member Avatar for Muhammad_52

sir please i want a c# code that reads from the txt file and save it to database...

Member Avatar for Mike Askew
0
115
Member Avatar for ahmed_one

Development Environment used: 1.Microsoft Visual Studio 2010 2. Programming Language: C# 3. Database MySql I am trying to use BCrypt class by Derek Slager for creating and authenticating username and password. A form is use to create new user to save Username and Password to database, but this Password is …

0
98
Member Avatar for klika

So i have to write a c++ program for the Graeffe's square root method I have am stuck here when i have this formula transform into c++ code, the formula is on the link The code works particulary, the (elem[j-1]*elem[j+i]) doesn't work, it's beeing ignored and i don't know why... …

Member Avatar for tensity
0
1K
Member Avatar for klika

The part for(int i=1; i<n; i++) { x[i]=sqrt(y[i]*i); cout<<"x"<<i<<": "<<x[i]<<endl; } isn't working wll, for some elements the result is non, i thought that i because the numbers are complex, but not with include complex i get the same resut.. can anyone help me #include<iostream> #include<math.h> #include <complex> using namespace …

Member Avatar for ddanbe
0
139
Member Avatar for jenifer.jenn

Hi, I have developed windows application on windows 7, when I deployed it to windows vista it has stopped working but it run smoothly on windows 7. Can anyone help me? Thanks.

Member Avatar for Fenrir()
0
246
Member Avatar for sohail.butt.144

i need help to make this program please help me Problem Statement: Write a program using class(constructor, destructor, other member functions) to find the frequency of letters (small and capital alphabet or digit) from your student id character string. For example, frequency of letter ‘4’ in the string of a …

Member Avatar for lala56565
0
187
Member Avatar for qalooc

Question1)a program in c++ that display the following pattern to the screen: s ss sss Question2) The Fibonacci series in c++ please help!!!!!

Member Avatar for deceptikon
0
51
Member Avatar for folabidowu

write a C++ program which inputs litre consumption given in miles/gallon and which translates these figures into the litres/kilometre format which is more common in Europe.Use the following conversion factors: 1 mile=1.609km and 1 gallon= 3.785litres

Member Avatar for cherrymae.calma
0
276
Member Avatar for thomas_14

I am using c++ with sqlite3 I have a database(test.db) with a table of testTable inside the testTable it has the following attribute _id|randomText I tried inserting a randomText into the database after my input but it's not inserting into the database. my code http://pastebin.com/TvuNqFsF need help. thanks

Member Avatar for thomas_14
0
325
Member Avatar for kemo_saleh

As any experienced programmer must know the famous problem of "Edit Distance", however this problem is considered an “alternating chain” if you have alternately made case sensitive. Example: "AaAaAbB" "B" "a" "aBaCdEf" Alternating chains are considered in our problem. We only have one operation that is permitted in exchange for …

0
59
Member Avatar for Elvi

Hello! I have a exercise about matrices. here is the question: is given a square matrix [M] [N] which determines the amount of each column. Thank u!

Member Avatar for Ancient Dragon
0
138
Member Avatar for munir.ashley

I have been searching google but I did not find how to display a message in C# win store app. Actually I have been developing a app in which user will input. I have built rgex. When a text box is empty & user click on validate button it would …

Member Avatar for MarkAMalo
0
371
Member Avatar for star.bravo

I want to know how I can have an array of strings for example: a[] = {A,B,C,...,Z} and then randomly choose one character from the array (for instance 'F') and apply a font format from windows on it and then render that particular letter in the form of Bitmap image …

Member Avatar for Fenrir()
0
393
Member Avatar for cherrymae.calma

i just want to ask, why we need to declare the header on the upper part of our syntax.

Member Avatar for cherrymae.calma
0
122
Member Avatar for daino

Hi I'm having a little trouble understanding C++ string arguments if that's what you call them. The below example illustrates. I'm not sure I understand what line 14 does. The vector 'myvector' is passed to myfunction (called on line 35. I'm assuming string w takes in the first value of …

Member Avatar for daino
0
366
Member Avatar for edwingk

I have a c# program that opens a .tif image and later offers the option to save it. However, there is always a drop in quality when saving the image. _**I passed some parameters while saving the image so that the quality is at 100 % and there is no …

Member Avatar for JOSheaIV
0
3K
Member Avatar for gil.nickson

hi, can you help me with my code? actually its running but the total price of products bought is not displaying, can you help me with this one? :( #include<stdio.h> #include<string.h> #include<conio.h> int main(void) { int pno, choice, product, jf=12,d=10,l=107,c=2,cf=22,n=9,b=19,ap,a,total,disc,i,ctr,nSelection; char name[50]; char cname[50]; char y; char x; float price,qty,tax,dis,bill,dprice,ttotal; …

Member Avatar for noah_2
0
285
Member Avatar for KushMishra

Hello All, I went through many websites and did not find any converter that could purely convert C# syntax to VB syntax. However there are many converters available on the Internet but personally I don't think they are pure converters. Requesting all to please suggest some online tools/converters to achieve …

Member Avatar for JOSheaIV
1
454
Member Avatar for ashishkumar008

[B]1.[/B] Right click on your project name in solution explorer. [B]2.[/B] Point the cursor on [COLOR="Green"]Add[/COLOR] then choose [COLOR="Green"]Existing Item...[/COLOR] [B]3.[/B] Now go to the Location of your sound file and select that sound file. [B]4.[/B] Now select your sound file in solution explorer then Right click on it choose …

Member Avatar for JOSheaIV
3
5K
Member Avatar for jimmylee7706_1

I recently built a calculator in C# for the Windows 8 App store, submitted it and got it approved and its in there now! But it was a very rushed and unfinished product, I was more or less excited that I had a working app so I submitted. Now I'm …

Member Avatar for jimmylee7706_1
0
309
Member Avatar for senthilcse
Member Avatar for Sumith Asanka

Hi Guys why My C# windows program look wierd in windows 8 ? it is perfect in xp i have uploaded the 2 interface snaps xp and windows 8 does anybody know what is the reason for this ? what should be done to sort out this issue ?

0
94
Member Avatar for Parag ranawat

Sir How can i add my own function in C standard library so pls can u suggest me about it........

Member Avatar for deceptikon
0
34
Member Avatar for keerthychandran
Member Avatar for Learner010
0
124
Member Avatar for katongo360

hi every one am a beginner and need help with a guessing game am writing an any one help me out ?

Member Avatar for ArashVenus
0
189
Member Avatar for tesfaye.mulu.71

Dear programmer, A pharmacy needs to automate drug inventory management system. Every drug has chemical Name, Chemical Composition, date of manufacturing, expiry date, and country of origin, quantity, category and others. The pharmacy has a policy to dispose expired drug before use. However, it is not an easy task to …

Member Avatar for Schol-R-LEA
0
3K
Member Avatar for zaidiSEO

Most important things in C # Sharp, as a Student Leaning the programming.. 1. CONSOLE 2. Web Forms and other Things , Suggesstion me

Member Avatar for Michael27
0
467
Member Avatar for bbub
Member Avatar for ivan.dyadi

Qn. Given the following pseudo code, write a program that executes it. (20 marks) read a read b compute x=a*b+2 compute y=a-b total=x2+y*(x+a)*(y-b) print total Solution:vv

0
122
Member Avatar for Abhijeet1990
Member Avatar for oualid.betari
-1
124
Member Avatar for Ashneel Chand

Design an online lottery game in C++ which will randomly store 6 number in the range of 1 to 30 as the winning numbers. Then it will ask the user to enter 6 numbers of their choice and match with the winning numbers. It should display the following: “Jackpot” for …

Member Avatar for duskoKoscica
0
539
Member Avatar for blue_Student

Hi, I've been testing about converting infix to postfix expression. I've made the code and it compiles. My problem is it stops working when I run it. This involves the use of stack and arrays. I just call the method polish to get the strings infix and postfix, and to …

Member Avatar for deceptikon
0
354
Member Avatar for djbsabkcb

Below is my code for printing prime numbers up to a given input by user. However, my calculations are not working correctly and my output is printing twice. Any idea? :sad: #include <iostream> #include <cmath> using namespace std; void prime_num(int); int main() { cout << " Enter a number and …

Member Avatar for duskoKoscica
-2
2K
Member Avatar for CJMW

So im making a simple RPG using c# and xna. For collision, i am using a text file that contains data about whether a tile is passable or not. I iterate through them and create rectangles based on the position of the 'bad' tile in the text file. I then …

Member Avatar for CJMW
0
346
Member Avatar for CJMW

So im posting this here and not under game development because this is more of a problem solving question, not directly game related. Im making a simple RPG using xna. Im currently working on collision detection, however running into difficulty. I can successfully check for a collision between the player …

Member Avatar for CJMW
0
333
Member Avatar for jyotidighe
Member Avatar for CJMW

So i'm making an rpg game in xna. I can move my player around the screen, however it can also move off the screen. How can I implament a simple camera that will follow the player and prevent them from moving off of the screen? I only need it to …

Member Avatar for CJMW
0
450
Member Avatar for dearrajaguru

Any one please help me. i done a little project using thermal printer. Now my Tl ask me to convert it to Dot Matrix printer. Can u send any sample code for this...? waiting 4 reply thank u.. with love guru

Member Avatar for Mike Askew
0
523
Member Avatar for andreas.petrou.967

I have this program,how to find reverse numbers? #include<iostream> #include<fstream> #include<string> using namespace std; const int array_size = 10; //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //function to enter the number choise1/// to "&" dieuthinsi noumerou void get_numbers(int num_arr[array_size], int& numbers){ int count; cout << "How many numbers do you want to enter? "<<endl; cin >> …

Member Avatar for kplcjl
0
364

The End.