8,298 Topics

Member Avatar for
Member Avatar for Margi_1

I am trying out friend functions in different files to see how it work. However, I am having problems compiling it with error after error. Well now I'm done to one error again, please have a look at my code: /* ---------- classOne.h ---------- */ #ifndef CLASSONE_H_ #define CLASSONE_H_ #include …

Member Avatar for tinstaafl
0
302
Member Avatar for swengineer2015

Please provide code to create Web browser in C# without using web browser control and perform Sending HTTP request messages  and Receiving HTTP response messages,History and fav

Member Avatar for cgeier
-2
53
Member Avatar for Reapt

Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there?

Member Avatar for JOSheaIV
0
264
Member Avatar for Mourya1222
Member Avatar for CodeAssasian

How to save informations in one dat. I think that is datebase or something. Please help me!!!

Member Avatar for JOSheaIV
0
175
Member Avatar for VasquezPL

Hi Guys, I have a big problem. I want to merge two oft/msg outlook templates. when I try to open my oft/msg outlook template with: Outlook.Application oApp = new Outlook.Application(); Outlook.MailItem newMail = (Outlook.MailItem)oApp.CreateItemFromTemplate(path); newMail.Display(); It works - pictures are visible.. The problem is that I need to merge two …

Member Avatar for cgeier
0
773
Member Avatar for Diellza S.

/ I want to debug this code but I can't? How can I debug it in console application using System; using System.Collections.Generic; using System.Text; namespace BucketSort { class BucketSort { public static void Sort(int[] integers) { //Verify input if (integers == null || integers.Length <= 1) return; //Find the maximum …

Member Avatar for deceptikon
0
239
Member Avatar for cambalinho

i continue with problems for use a callback function in a class member :( class Timer { private: typedef std::function<void(void)> timerprocedure; timerprocedure tmrprocedure;//can't be static int MilliSecondsTimer; bool blnDestroyed; UINT TimerId; HANDLE Timer1; static void CALLBACK MyTimerProc( HWND hwnd, UINT message, UINT idTimer, DWORD dwTime) { tmrprocedure();//call the lambda timer …

Member Avatar for Banfa
0
498
Member Avatar for ddanbe

Maybe a bit silly question, but in one of my projects I needed an enum and I suddenly wondered what would be the best place for it to write it in a file. Should it be in a .cs file of his own or could I place it in the …

Member Avatar for RichardGalaviz
0
597
Member Avatar for Trle94

Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please?

Member Avatar for Trle94
0
260
Member Avatar for lian_1

Good morning. I would like to ask for help on our FINALS PROJECT. Our professors told us that he have given us everything we need but we don't have any idea. The requirements are : A.Adding of Records. -User should be allowed to enter a maximum of 15 record. -However, …

Member Avatar for deceptikon
-1
106
Member Avatar for gurusamy
Member Avatar for thilinam
Member Avatar for jtodd

Hey everyone. In stumped. How would you take a string and verfiy it is a word? Example: String a = sldkjf String b = dog The results should be, "dog" is a word and "sldkjf" is not. Any direction would be greatly appreciated.

Member Avatar for RichardGalaviz
0
333
Member Avatar for Prateek_2

I am learing c# and confused on streams What are they?? Arey they used to store data or transfer data ?? Pls explain in very simple words

Member Avatar for JOSheaIV
0
204
Member Avatar for zachattack05

Good morning! I was wondering if anyone could send me in the correct direction to locate documentation on how the Windows Sensor and Location Platform gets its data so that I can have a Windows service that will respond to GPS requests (without actual GPS hardware)? I'd like to have …

Member Avatar for zachattack05
0
190
Member Avatar for lewashby

I've been reading 'Learn C++ By making Games' and it uses the SDL library. The problem is the book has poor code examples, a lot of them don't even show the #include <libraries> instead jump straight to the main() function. So I just ordered the book 'Linux Graphics Programming with …

Member Avatar for lewashby
0
703
Member Avatar for cambalinho

i'm very confused and the others forums make me more confused :( i'm using string, so i need convert string to WCHAR*: const size_t len = filename.length() + 1; wchar_t wcstring[len]; swprintf(wcstring, len, L"%s", filename.c_str()); Gdiplus::Image img2(wcstring); the img2 read the file normaly, but i'm creating another Image variable in …

Member Avatar for JasonHippy
0
444
Member Avatar for funnym3

I have a problem with my vb payroll project. When I click the Edit Button a msg pop-up saying that "Input string was not in a correct format." and when click the Delete button, msg is "Fatal error encountered during command execution." I tried to change the values of @g …

Member Avatar for funnym3
0
569
Member Avatar for ndowens

I am trying to learn C++. I wrote a little calculator using class to see if I can do it and give some practice. The following is the code: [CODE]#include <iostream> using namespace std; class Calculator { float a, b; public: float add(float, float); float subtract(float, float); float multiply(float, float); …

Member Avatar for egidijus.aranauskas
0
4K
Member Avatar for kegs88

Hey guys im trying to work on this assignment i have. I am new to programming and this is my third assignment. Any help would be appreciated. Im not sure if im on the right track or not. here is what i have to do: allow the user to enter …

Member Avatar for ddanbe
0
2K
Member Avatar for theashman88

I am creating a form that uses a DateTimePicker control to display the date in the format of h:mm:ss tt. I am trying to make the default time one hour ahead. The control is labeled deliveryTime and I tried double clicking it and then typing in `DateTime.Now.AddHours(1);` I dont know …

Member Avatar for ddanbe
0
463
Member Avatar for yaldoo

Hello All! I am having trouble with my C++ code. The problem is that my code isn't giving me the correct logic outputs, Also, my teacher said to MUST MAKE the output look like this : P and Q : T P or Q : T P --> Q : …

Member Avatar for sepp2k
0
4K
Member Avatar for DS9596

Is this a good pseudocode and can you help me write this, I am kind of new to programming. if (choice > 0 && choice < 4) //choice is between 0 and 4 { cout << "Enter the distance: \n"; //displays the distance cin >> distance; //prints the distance if …

Member Avatar for rubberman
-1
445
Member Avatar for KezLovesYou

Im not a programmer but I need to do it now. Our thesis is about creating a system for a specific company. I am just a systems analyst and I can understand codes. We already have a programmer but he is about to quit. I'm a newbie in c# and …

Member Avatar for humorousone
0
221
Member Avatar for Bhavesh Nariya

#include <stdio.h> int main() { int x = 10, y = 5; // Code to swap 'x' and 'y' y=x+y-(x=y); printf("After Swapping: x = %d, y = %d", x, y); return 0; }

Member Avatar for Hiroshe
0
100
Member Avatar for Dukey1

develope a software or patch so that i can get free chips to really use them in game I need any patch or moded .apk so that i can get chips which can be generated through any game killer...

Member Avatar for chriswelborn
-3
87
Member Avatar for BibhutiAlmighty

Can anyone please help me to add number of strings to a hash table. Actually i am trying to make a "hangman game". I want to store the answers in a hash table but there's something wrong i my code <sorry!! I can't provide the code>. Please suggest me a …

Member Avatar for chriswelborn
0
222
Member Avatar for divyakrishnan

Hi.. How to get the difference between two dates using C#.NET web application in form of days? If anybody knows plz help me..Itz very urgent.

Member Avatar for AMBIgainathan
0
3K
Member Avatar for dd2308

Hello,In my windows application , I am loading a form having datagridview. First i bind this datagrid to database than i try to change particular link cell based on certain condition. int key = 0,CountCheck; string CheckSql; try { foreach (DataGridViewRow dgr in dataGridView1.Rows) { key = Convert.ToInt32(dgr.Cells["id"].Value); CheckSql = …

Member Avatar for ChrisHunter
0
762
Member Avatar for rocketmail

I want some information about any .net library for merging of videos(no matter either is paid or free). If someone has some idea regarding this then please let me know. I have tried splicer and FFMPEG wrapper for .net also but could not find them useful for me. According to …

0
70
Member Avatar for Anitha14

I want to select a node based on an attribute value. I am using C# program to derive on the attribute value which is stored in a variable. The below code returns null. How can I compare the attribute value against a variable? string posSecond = "test"; SelectSingleNode("//viewentries/viewentry[@position=posSecond]"); Thanks!

Member Avatar for Anitha14
0
658
Member Avatar for iqra aslam

hello, i have dev c++ software , when i compile my program it displays an error message showing that "g++ =.exe has stopped working", what is the issue?, how can i resolve this issue?

Member Avatar for Schol-R-LEA
0
68
Member Avatar for circuit009

Hello, I wan to create a Browser Toolbar/ Extension / Plugin for Chrome/ Firefox/ Explorer. I want to place a toolbar on the default browser of the user. Basically when the user install my software(written in C#/Vb.net) i want a toolbar to get installed on the browser. This browser will …

Member Avatar for tinstaafl
0
321
Member Avatar for faisaljvd

I am new to C++. Can somebody help me in this problem how can i evaluate and print the largest number from a series?

Member Avatar for faultybits
0
112
Member Avatar for MrSONOFAHIPPY

Please help. I have an programming assignment due and i can't figure out how to code it. Complete the following code so that the program: 1. reads in any number of values in a given range into an array of integers 2. counts the frequency of each value, storing the …

Member Avatar for Erick02
-1
1K
Member Avatar for sakshu

"URGENT" Structure or design(how many and what kind of classes may be involved) of "Automobile Dealer shop" project

Member Avatar for rubberman
0
52
Member Avatar for tentrabyte
Member Avatar for Neuman
0
109
Member Avatar for Joemeister

I am currently working on a small project. How it works is a passenger must book where he/she wants to sit on plane. Using a DataGridView he/she can pick a seat except in the ilse. The DataGridView has 7 columns and 5 rows. The ilse is occupying the whole 3rd …

Member Avatar for ddanbe
0
773
Member Avatar for tentrabyte

Write a program that will ask for two integer numbers. Assign the first integer to the first operand and assign the second integer to the second operand. Use the following assignment operators: =, *=, /=, %=, +=, and -= Display the result of each operation. Consider the following sample output: …

Member Avatar for Tycellent
0
521
Member Avatar for Saadiya

Hello everyone! i tried to run this code on the command prompt and got this error: "Invalid token '(' in class, struct or interface member declaration". Please how do i solve this? what does it mean? Thanks. using System; namespace FFC { public abstract class Furniture{ protected string color; protected …

Member Avatar for chriswelborn
0
151
Member Avatar for Hussain_3

i have exe file generated by the Compilation of C++ program now I want to pass arguments to the generated exe file through C# and save all of the output of exe file on a .txt file this is What i have done so far public static string RunCmd(params int[] …

Member Avatar for tinstaafl
0
1K
Member Avatar for cambalinho

how can i build a typedef with variadic operator? what i mean is that i need build these: typedef std::function<void(void)> Event;//works fine, but for any parameters typedef std::function<void(...)> Event; //no errors Event test(int x, int y)=[](int x, int y) { int a=x+y; string b=tostring(a); MessageBox(NULL,b.c_str(),"hello",MB_OK); }; in these sample i …

Member Avatar for cambalinho
0
1K
Member Avatar for iqra aslam
Member Avatar for Sam_6
-1
228
Member Avatar for tan.revilleza

while loop or doo loop the output should be like this 1 12 123 1234 123 12 1 and 1234 123 12 1 12 123 1234 tnx

Member Avatar for Sam_6
-1
261
Member Avatar for kanaly.john

Write a program in c/c++ that add two numbers which are between 3000000 and 5000000. the result should be shown as "number 1 + number 2 = result

Member Avatar for Sam_6
0
121
Member Avatar for sam289312

i have a question regarding a program I am making. please can anyone guide me? i want to add text of two buttons. is that possible?

Member Avatar for JorgeM
0
89
Member Avatar for cambalinho

i'm buiding an image class, but i need some information... the C\C++ teach how read binary\text files... but not how the files are build like JPEG, PNG, GIF and others :( i can't find a page for give me the file struture and when i found it, i only see …

Member Avatar for mike_2000_17
0
559
Member Avatar for Cave_1

Hi. I'm trying to use brace-initialization notation: int number{}; But I get the following error: "expected an expression". Shouldn't c++11 allow this kind of initialization? int number2(4) works just fine. Thank you.

Member Avatar for Cave_1
0
367
Member Avatar for PsychicTide

Hello fellow daniwebians, I'm attempting to wrap up an asp.net/c# eCommerce website recently created (recently discussed in many of my posts). I'm now trying to transfer the finished product from my local development environment to a remote host. I can publish the files fine, I can reset the connection-strings as …

Member Avatar for PsychicTide
0
664

The End.