Hello, I want to create a word processor in C# that can open, save, and print.
Here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using...
Type: Posts; User: MaGaIn
Hello, I want to create a word processor in C# that can open, save, and print.
Here is my code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using...
I am pretty new to C++. I want to start to put graphics in my programs. Can you point me to some toutorials that might be good for ma (a beginner).
When I have my program go into full screen by using the following code:
keybd_event(VK_MENU, 0x38, 0, 0);
keybd_event(VK_RETURN, 0x1c, 0, 0);
keybd_event(VK_RETURN, 0x1c, KEYEVENTF_KEYUP, 0);...
It will vary depending on the name of the user. Could you show me how to store it in fstreams. Thanks
Excellent, It now works. Thank You Very Much
The Program now compiles, but does not open the file. Here is the code:
#include <iostream>
#include <windows.h>
#include <stdlib.h>
#include <cstdlib>
#include <string>
#include <tchar.h>...
Does anyone know what is going on?
Is there any way to store variables in a file, so that the program does not have to ask the user for imput that will never change over and over again.
EX: storing a name string forever in a file....
#include <iostream>
#include <windows.h>
#include <stdlib.h>
#include <cstdlib>
#include <string>
#include <Shellapi.h>
using namespace std;
int main()
{
ShellExecute(NULL,...
Safe Office 1.0 is now open sourse. Unfotunately, we have yet to have anyone want to work on the project. We want C++ developers of ALL skill levels. If you are interested just post your...
I am new to C++ and I do not understand what the toutorial is saying. Can someone please post code (that shows what header files are needed as well) that will open a html document that is on my c...
that is all that was there (it was a ***** website)
Thanks
here is the code:
#include <iostream>
#include <windows.h>
#include <stdlib.h>
#include <cstdlib>
#include <string>
#include <Shellapi.h>
using namespace std;
int main()
It works now. Thank you very much
Here is a code update
#include <iostream>
#include <string>
#include <cstdlib>
#include <windows.h>
#include <mmsystem.h>
#include <stdlib.h>
#pragma comment(lib, "winmm.lib")
using...
Anyone know what is going on???
Thanks Again
Forgot to post new code
#include <iostream>
#include <string>
#include <windows.h>
#include <cstdlib>
using namespace std;
int main()
{
cout << "Hello world" << endl;
------ Build started: Project: soundtest, Configuration: Debug Win32 ------
Compiling...
sound test.cpp
Linking...
sound test.obj : error LNK2019: unresolved external symbol __imp__PlaySoundW@12...
Could someone explain why I am getting these errors:
#include <iostream>
#include <string>
#include <windows.h>
#include <cstdlib>
using namespace std;
int main()
Here is the code that I used (the code stated by you in an earlier post)
#include <windows.h>
#include <cstdio>
int main(int argc, char **argv)
{
BOOL f;
f = PlaySound("c:\\Fanfare.wav",...
Your post earlier generates errors. Thanks
Please explain by posting code. I do not understand. Thanks Very Much
no. Do you know what the right code is? Thanks.
I updated to Visual 2008 and no longer get compiler erros. Unfortunately I am unable to hear the sound file. Please help. Thanks