8,298 Topics

Member Avatar for
Member Avatar for jigneshdesai

Hello freinds, Recently i was interviewes in accenture and i was asked what the difference between tostring and convertostring. I think tostring checks for spaces and convertostring does not

Member Avatar for Ramesh.KR
0
256
Member Avatar for bhavyajyothinat

can someone send the code for connecting with MySql in asp.net. and code for inserting some entry to a table. I have no idea about MySql. Am having an interview on 16th March.They asked me to do with MySql. Please someone help me..

Member Avatar for bhavyajyothinat
0
294
Member Avatar for Usmaan

I have a .wmv file which is 3 seconds long. I want it to play at a certain part of my program. Any ideas?

Member Avatar for abelLazm
0
88
Member Avatar for plang007

[B]****Output[/B] There were 305 birds in this list. Species: Snow_Goose Number: 305 There were 567 birds in this list. Species: Canada_Goose Number: 567 There were 4 birds in this list. Species: Tundra_Swan Number: 4 There were 31 birds in this list. Species: Wood_Duck Number: 31 There were 60 birds in …

Member Avatar for plang007
0
247
Member Avatar for finchh

I need to write a program square that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. For example if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form …

Member Avatar for Ancient Dragon
0
165
Member Avatar for pseudorandom21

Hello, I'm hoping you can help me make a smart decision. I have some code written in native C++, a full program actually--and I need to use it with C#. The application is, at the moment, very basic. It has a console user interface, and settings need to be changed …

Member Avatar for George Truesdel
0
788
Member Avatar for sureshprg

I use VS 2008. The forms which I designed in a project does not display in the correct size and alignment when the program is run. Even the controls in that form has changed their relative sizes. What can I do to overcome this problem?

Member Avatar for ddanbe
0
104
Member Avatar for leo88

Hi, i got some problems with remove and split: i have the outputs, as below: {1 2} 3 How to remove the syimbol {} and split the 3 ?for example. it will become 1 2 3 anyone know? Please help me..

Member Avatar for Momerath
0
182
Member Avatar for Lokril

Having trouble with this assignment can anybody give my a hint as to where I should start? Write a program that prints letter grades based on a score (between 0 and 10) entered from the keyboard. The simplified scoring system will be: 9-10 A 8 B 7 B- 6 C+ …

Member Avatar for WaltP
0
2K
Member Avatar for gregarion

[CODE]#include <stdlib.h> #include <iostream> #include <cstring> #include <string> /* Include directly the different headers from cppconn/ and mysql_driver.h + mysql_util.h (and mysql_connection.h). This will reduce your build time! */ #include "mysql_connection.h" #include <cppconn/driver.h> #include <cppconn/exception.h> #include <cppconn/resultset.h> #include <cppconn/statement.h> using namespace std; int main(void) { sql::Driver *driver; sql::Connection *con; sql::Statement …

Member Avatar for mcriscolo
0
1K
Member Avatar for london-G

hello, I am building an application where I have two integers and I have to add them or multiply. I have to use a function to add/multiply this two numbers and call it from the main. I have done this so far. [CODE] int main() { int user_choice; int num1; …

Member Avatar for london-G
0
182
Member Avatar for uditjindal

I want to update information i previously stored on a file but cannt do. My code is[CODE]//----------------------------- //--------------------------------"s"-Structure created-------------------- struct student { char regno[20]; //----------------------Pinfo var------------------ char name[50],gender[7],dob[20],otno[20],colg[50],branch[20],hno[10]; int rno; //----------------------Einfo var------------------ char doj[10]; float teage,twage; //----------------------Painfo var----------------- char fname[20],occ[50],ladd[100],cadd[100],ftno[20]; //----------------------Payinfo var---------------- char payj[200],dues[200],smoney[200],mode[20]; //----------------------Remarks var---------------- char remark[900]; //----------------------Marks var------------------ …

Member Avatar for abhimanipal
0
145
Member Avatar for vavishy

The CashAndCreditShop supermarket determines the retail price of a product based on the time it is expected to stay on the shelf. Any item that is expected to sell in one week or less is marked up 10%, and any item that is expected to stay on the shelf for …

Member Avatar for mcriscolo
0
212
Member Avatar for qweret

Hi! I'm trying to do a very simple program with C# that opens a webpages, put a nick and a password in the form of that page and that "presses" the login button... I don't know what to search online that could help me.

Member Avatar for Momerath
0
103
Member Avatar for leo88

hi, i wants to take the items from a listbox and then store to a dictionary list like this: Dictionary<string, double> sortList3 = new Dictionary<string, double>(); In the dictionary, the key is string and value is double. The listbox content is as below: {1 2} 4 {1 4} 6 {1 …

Member Avatar for Mitja Bonca
0
180
Member Avatar for daniaed

Hi! I’ve been working on a project using C++ and I’m facing some difficulties. I have to write a user system consisting of two classes. One class “Account” with the parameters: Balance, password and username. Account management will contain functions for operating on the balance and for reading/writing the account …

Member Avatar for WaltP
0
114
Member Avatar for lianpiau

the problem message as above title. this problem cause when I perform update. When I select record and click update button. It will show the data into above textbox,combobox and picturebox. When I click save button it will pop out the message(title). Line 32 [CODE]private void btnSave_Click(object sender, EventArgs e) …

0
74
Member Avatar for Shaitan00

Currently I have a windows service written in C# (running as LocalSystem) which creates a user account, needed for impersonation, by using the DirectoryEntry to add the user/password and associated UserFlags. Then it simply uses this account to perform some tasks (using impersonation) using the LogonUser() functionality - works perfectly. …

Member Avatar for Shaitan00
0
182
Member Avatar for Kase42

Hey everyone. I am attempting to create a simple console maze generator in C++ for a school project. I've already gotten most of it down but I'm having a problem debugging the actual generation algorithm I've implemented. I've been learning C++ for the past few months now but I haven't …

Member Avatar for Kase42
0
2K
Member Avatar for narendera22

Hi, Currently i have requirement to i have to connect C# applicaton to DB2. I dont know much about DB2 and i dont know how to connect this and which tool i need to use for this. please suggest me how to connect this and which type of tool i …

Member Avatar for Mitja Bonca
0
116
Member Avatar for riahc3

Hey How can I send mail thru C#? It seems that it can be sent only thru Smtp (from Googling) but there has to be a way to do it thru POP3 as Windows Live Hotmail supports it and AFAIK VB.NET also supports it. If someone can give me a …

Member Avatar for riahc3
0
86
Member Avatar for lianpiau

Who can help me?? [B]Microsoft Visual Studio 2008 Window Form Application C#[/B] I'm want store some data and picture in access database and display the data and picture in datagridview. when the user double click the record in datagridview. it will display data and picture into above textbox for update …

Member Avatar for lianpiau
0
320
Member Avatar for CrazyProgrammer

Hi all, i was wandering if someone good explain to me about clr? what are some advantages or disadvantages of programming c++ with clr, what are the main differences if there are any? If I understand it right clr programming is using the .NET framework, but could someone please give …

Member Avatar for CrazyProgrammer
0
157
Member Avatar for sha11e

1. Are memory adresses a certain size? I've seen some that have 6 characters after the 0x and some that have 8 after the 0x 2. A pointer like this: int *pointern does what exactly? Selects a location in the memory? Randomly? Or maybe like the first availible memory adress? …

Member Avatar for rubberman
0
215
Member Avatar for rajkumar0428

I have a one problem for backspaces in c#(windows) I have written following code in keyup event for textbox i.e (Text Box is placed On 5 th panel) Collapse if(e.keydata==keys.back) { sendkeys.send=("+{BS}"); Sendkeys.send={Break}; } It will delete ONLY ONE char. When I'm pressing backspace button but when I'm holding backspace …

Member Avatar for Momerath
0
194
Member Avatar for JPramod

Hi, This is just a thought. So please don't get mad at me and please don't waste much time over this either. Just wanted to share something that occurred to me. Now I've done a bit of java and a bit of C. Now what I want to do is …

Member Avatar for JPramod
0
184
Member Avatar for Theanonymous

I need to write a program that calculates the squares of all numbers that are contained in a file of floating point numbers. The obtained new numbers form a new file. Like this : if the file contains the numbers 1, 2.5, 0.1, the numbers 1, 6.25 and 0.01 form …

Member Avatar for finchh
0
295
Member Avatar for pseudorandom21

What would be a common strategy for using DLLs coded in native C++ in C#? I'm not really finding much good information about it, other than writing the DLL in C.

Member Avatar for mike_2000_17
0
778
Member Avatar for draven07

..Im preparing my way on studying C# this summer for my C#programming class.. .. well of course, I need a compiler so I could try it myself.. ..I just want to ask what could be the "BEST" compiler I can use for my purpose.. ..

Member Avatar for lxXTaCoXxl
0
111
Member Avatar for Naqib

HY DEAR i want to access or retriving pictures from MS access to C# program. what r the qurey to send . thanks

0
67
Member Avatar for WolfShield

I am thinking of learning C++ (I already know Python and Java), and a friend of mine is thinking of learning C# (already knows some Java and JavaScript). I know there is a long debated "C++ or C#" ordeal out there, so I am not asking about that! :) (I've …

Member Avatar for WolfShield
0
565
Member Avatar for madfase

Goal: drag-and-drop from one button to another button and have access to the following info from the original button: - Image - BackColor - Tag Problem: I can only implement one. If I try to implement all three I get null pointers. [code] private void button1_MouseDown(object sender, MouseEventArgs e) { …

Member Avatar for madfase
0
178
Member Avatar for navimir

I have created .exe file in matlab but i want it to use it in C# form.What is the code to do this??plzz help

Member Avatar for abelLazm
0
53
Member Avatar for krii017

i got a problem i have a registration and log in program the registration is fine but on log-in , the 1st entry on registration is the only accessible on log in i tried the 2nd and 3rd username with correct psw but it got an error heres my code …

Member Avatar for krii017
0
160
Member Avatar for prutudom

I try to develop the program with C# VS in Windows Mobile5.0 My application up and running, however when I scan the barcode and get the data from database it work fine. Once I keep scan the barcode for a while. Program stop working and sometime can be terminate as …

Member Avatar for prutudom
0
745
Member Avatar for nice_candy

hi, can anyone tell me how can i get the OUT parameter value in my calling code. my code is like following: [code] Class abc{ public int sum(int a,out int b){ [COLOR="Green"][B]b[/B][/COLOR] = 10; return a+b; } } [/code] how can i use the value of [COLOR="Green"][B]b[/B][/COLOR] in my calling …

Member Avatar for kvprajapati
0
73
Member Avatar for seraphon

PLease can someone help? I need to create a program that reads a list of units and names "eg ounce,gram,28" then asks for a user input, and then converts and displays the result. So far all i have been able to do is get it to read the first line, …

Member Avatar for abelLazm
0
317
Member Avatar for shyla

Create a console-based application that computes the price of a desk and whose main() method calls four other methods a method to accept the number of drawers in the desk an input from the keyboard. this method returns the number of drawers to the main method a method to accept …

Member Avatar for shyla
0
701
Member Avatar for Nevillelajru

hi i am looking for some code and step by step instructions for the c sharp encryption and decryption process. if anyone is willing to send me some instructions i would be grateful. thanks Neville

Member Avatar for Nevillelajru
0
331
Member Avatar for abd640

Hi I want to change the permission of a registry key , and I want to set it as a read only... How can I do that ??? I tried this way, but it doesn't change anything, also it doesn't give me anything. like nothing is happened... [CODE]RegistryPermission rp = …

Member Avatar for abd640
0
606
Member Avatar for srch07

Hi, I have made a port forwarder, ZA is server side, and Client is client side. This Port Forwarder sits in middle of both, and simply sends data coming from Client to ZA, and from ZA to Client. Its not like for every ZA packet, Client will send a response, …

0
103
Member Avatar for Ubiad

copy in your program and then run.. [CODE]void Ubaid(int x)[/B] //this is function x value is 5 or directly set x=5 { // x=5; for(int i=x;i>0;i--) { printf("\n"); for(int j=1; j<=i; j++) { printf("%d",j); } for(int u=i-1;u>0;u--) { printf("%d",u); } [B]}[/B] //start another from here that print the opposite for(int …

Member Avatar for Ancient Dragon
-5
1K
Member Avatar for VasquezPL

Hi guys I have small problem... I will be provided with group names...(each time = different group) I need to add user there... I use code to add users: [CODE] public void AddToGroup(string userDn, string groupDn) { try { DirectoryEntry dirEntry = new DirectoryEntry("LDAP://" + groupDn); dirEntry.Properties["member"].Add(userDn); dirEntry.CommitChanges(); dirEntry.Close(); } …

0
77
Member Avatar for VasquezPL

Hi! I have big problem..I don't know how to read delimited file line by line. for example: [CODE] my csv file looks like this Michael;Jackson;Beat it; Jay;Kay;Supersonic;Cosmic Girl;Star Child; . . . etc . [/CODE] program has to: take name and put it into texbox1 take last name and put …

Member Avatar for VasquezPL
0
212
Member Avatar for tbanisida

I have two tables tb_Rnd1 RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt If I click btn_Add Insert Records like this first RndId(Pk) RndWood Rndlength RndWindth RndPNo RndConst RndCft 1 Teakwood 23 12 1 144 X Tb_Rnd2 RndId(Fk) RndDate RndName RndTCft RndRCft RndTotalAmt 1 …

Member Avatar for abelLazm
0
183
Member Avatar for penguino138

Ok, so im trying to make my sister a flashcards program with dev c++. What you do is put in the deck name and how many cards you want. Then you go through for each card and put in what's on the front and back. I also want it so …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for PlyrJames791

Hi I'm new to C++ and I'd like to make a program that responds to MIDI input from an external device (e.g. MIDI keyboard). I've found a library that should do what I want here: [URL="http://www.music.mcgill.ca/~gary/rtmidi/index.html"]http://www.music.mcgill.ca/~gary/rtmidi/index.htm[/URL]. I'm using VC++ 2010 Express, and I can't figure out how to actually use …

Member Avatar for kiran_ur_frnd4u
0
1K
Member Avatar for giggity

Write a program that allows the user to enter a series of positive integers one at a time and in increasing order (using -1 as a sentinel value), and then computes and displays the median value of the data entered, as well as the number of data values entered. You’ll …

Member Avatar for giggity
0
137
Member Avatar for jackmaverick1

Hi, I've been looking for a while for things that would give me random numbers under a value that I can specify (for me it's 5). I've seen [ICODE]rand();[/ICODE] and [ICODE]srand();[/ICODE]. I also know that[ICODE]srand()[/ICODE] is the seed and [ICODE]rand()[/ICODE] is the random number itself. Even the example programs don't …

Member Avatar for pseudorandom21
0
357
Member Avatar for moritz11

My contrive s neutral was to determine the hurrying of C compared to C++ (planning languages). I intellection that C++ would be faster, because it was codified many newly. Methods/Materials I utilized two books for testimonial, Herb Schildt's C++: The Staring Write, and Instruct Yourself C++, also by Schildt. I …

Member Avatar for Narue
-1
227

The End.