8,298 Topics
![]() | |
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 … | |
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 | |
Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there? | |
How to save informations in one dat. I think that is datebase or something. Please help me!!! | |
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 … | |
/ 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 … | |
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 … | |
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 … | |
Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please? | |
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, … | |
what is the difference between list and arraylist in c#? | |
tel me the difference between binary and unary operator | |
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. | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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 : … | |
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 … | |
#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; } | |
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... | |
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 … | |
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. | |
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 = … | |
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 … | |
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! | |
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? | |
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 … | |
I am new to C++. Can somebody help me in this problem how can i evaluate and print the largest number from a series? | |
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 … | |
"URGENT" Structure or design(how many and what kind of classes may be involved) of "Automobile Dealer shop" project | |
Create a program that will accept a character and display its ASCII value. | |
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 … | |
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: … | |
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 … | |
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[] … | |
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 … | |
hi. how can a decimal value be converted to binary in a c++ program? | |
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 | |
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? | |
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 … | |
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. | |
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 … |
The End.