|
p_ wrote: i want to attach my new skills which i gain after completing the task or project given by some one
Where do you want to work? what do you want to do? Do you want business programming? learn to write a client application that reads/writes to a database server on another machine with a complex user interface (multiple windows).
Do you want to be in media services? write a client/server application that streams video/audio from one machine to another with a very attractive, yet skinable user interface.
Do you want to be in 3D graphics? write a 3D landscap tool that integrates complex 2D animations into a 3D world along with real-time object positions.
etc.
Start with what you WANT to be doing, then find a project to learn in that area.
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
p_ wrote: but task is in such a way that i can include this project in my resume
Here you go. YOu can now put on your resume that you know how to write "hello world" in many languages including VC++. Don't forget to emphasize LOLCODE, very handy for quick reports for your boss.
// language C
#include < stdio.h >
int main()
{
printf("Hello world!\n");
}
// Hello World in C++ (pre-ISO)
#include < iostream.h >
main()
{
cout << "Hello World!" << endl;
return 0;
}
// Hello World in C++/CLI for .NET
using namespace System;
void main()
{
Console::WriteLine("Hello World");
}
// Hello World in ISO C++
#include < iostream >
#include < ostream >
int main()
{
std::cout << "Hello World!" << std::endl;
}
// Hello World in D
import std.stdio;
void main()
{
writefln("Hello World!");
}
* Hello world in Cobol
*****************************
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
MAIN SECTION.
DISPLAY "Hello World!"
STOP RUN.
****************************
-- Hello World in Ada
with Text_IO;
procedure Hello_World is
begin
Text_IO.Put_Line("Hello World!");
end Hello_World;
{Hello World in Pascal}
program HelloWorld(output);
begin
WriteLn('Hello World!');
end.
10 REM Hello World in BASIC
20 PRINT "Hello World!"
' Hello World in Forth
: HELLO
." Hello World!" CR
;
! Hello World in Fortran 90 and 95
PROGRAM HelloWorld
WRITE(*,*) "Hello World!"
END PROGRAM
;;; Hello World in Common Lisp
(defun helloworld ()
(print "Hello World!")
)
; Hello World in Logo
DRUCKEZEILE [Hello World!]
; Hello World in LOGO, graphical output.
go 20 , left 180,
go 40 , left 180,
go 20 , right 90,
go 20 , left 90 ,
go 20 , left 180,
go 40 , left 90 ,
go 20 , left 90 ,
go 20 , right 90 ,
go 20 , right 90 ,
go 10 , right 90 ,
go 20 , left 90 ,
go 10 , left 90 ,
go 30 , left 90 ,
go 40 , left 180,
go 40 , left 90 ,
go 20 , left 90 ,
go 40 , left 180,
go 40 , left 90 ,
go 40 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 60 , left 90 ,
go 40 , left 180,
go 40 , left 90 ,
go 20 , left 90 ,
go 20 , left 180,
go 20 , left 90 ,
go 20 , left 90 ,
go 40 , left 180,
go 40 , left 90 ,
go 40 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 40 , left 90 ,
go 20 , right 90,
go 20 , right 90,
go 5 , left 90 ,
go 5 , left 90 ,
go 25 , left 180,
go 40 , left 90 ,
go 40 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 20 , left 90 ,
go 40 , left 180,
go 40 ,
BTW Hello World in LOLCODE
HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE
-- modified at 14:09 Monday 1st October, 2007
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
p_ wrote: but task is in such a way that i can include this project in my resume
Sure, for $80 USD an hour and disclosing full credits (you'll have to put a link to my website on your resume) to me while I retain full ownership (I'll have to charge you a monthly, recurring fee for the privilege of listing said project on your resume), I'd be to do anything you like. Please contact me at Mad1337HaXoR@aol.com for more information.
|
|
|
|
|
p_ wrote: please give me some project in vc++(MFC)
so that i can make this and increase my knowledge
Create a program that converts between degrees Fahrenheit and degrees Celsius.
Create a program that converts between degrees and radians.
Create a program that calculates the hypotenuse of a right triangle.
Create a program that determines if a given year is a leap year.
Create a program that writes the numbers 1-10 to a file.
...
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
I saw the definition of VectorFromBstr in MSDN,cld anyone explain me with an example.
Thnaks in advance
|
|
|
|
|
im new to ActiveX controls. In fact, I just wrote my first ActiveX control
using the MFC ActiveX control wizard. It works fine, but when I embed it in
a web page, IE gives me a security dialog saying
This page provides potentially unsafe information to an ActiveX control.
Your current security settings prohibit running controls in this manner. As
a result, this page may not display correctly.
Changing IE's security level worked, but there must be a better way. How
can I make my ActiveX control more trustworthy? As far as I know, I could
sign it, but certificates aren't free. What are my choices? What are the
tools?
|
|
|
|
|
You should mark your ActiveX component as safe for initialisation and scripting. Since ActiveX can do anything thus , microsoft has made it necessary the safe initialisation of ocx controls. So, make some code level changes in update Registry to doo this.
|
|
|
|
|
hi,
I am not able to change the cursor in a worker thread.How can i do it.
|
|
|
|
|
Hi,
See here[^] or here[^]
Regards,
The only programmers that are better that C programmers are those who code in 1's and 0's
Programm3r
My Blog: ^_^
|
|
|
|
|
revanth1985 wrote: I am not able to change the cursor in a worker thread.How can i do it.
You can't since the worker thread is unable to respond to the WM_SETCURSOR message. Do that in the primary thread instead.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I'm getting my first taste of the nasty world of NT security issues, so please bare with me if this comes across as one of those newbie questions.
It is important that my program is allowed access to every file/folder on a volume. I realise to do this I must add an ACL into the file/folders' DACL. I am able to do this without any problems. But here is the problem, so far I have been adding the looged on users SID to the ACL, storing the old DACL and replacing it on program termination. But, it has come to my attention that this is opening a serious hole in NT's security.
If my program does not perform a clean exit, those DACLs will never be replaced, leaving the file/folders' wide open.
Is there any other way to do this? Is it possible to add an ACL for my current process and not need to re-adjust the objects security once finished? ie, once the process no longer exists, theoretically the SID would become invalid, would windows perform an auto cleanup?
All the examples I have found relate to taking ownership and completely re-writing the security, rather than updating it. Also I have found nothing regarding 'SID of current process'.
Waldermort
|
|
|
|
|
i need to write a short C++ program that outputs all possible strings formed by using each the characters 'a', 'b', 'c', 'd', 'e', and 'f' exactly once. But I can't find a way to solve the problem.... plz help me, thank u
|
|
|
|
|
do you mean only a to f or a to z.
if you can just narrate an example,
i can write the code for you.
|
|
|
|
|
it's only from a to f...
thank you
|
|
|
|
|
And if you look for in the forum you will probably find something. This question was already asked days ago.
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
i tried to search the topic, but i can't find anything that's related
|
|
|
|
|
Try something list this:
------------------------
// Console.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
void main()
{
string s = "abcdef";
sort(s.begin(), s.end());
cout << s << endl;
while (next_permutation(s.begin(), s.end()))
{
cout << s << endl;
}
}
Steve
|
|
|
|
|
Thank you very much.
is it possible not using the "next_permutation" function?
|
|
|
|
|
Look at its source code, it comes with your compiler.
Steve
|
|
|
|
|
nethp1020 wrote: is it possible not using the "next_permutation" function?
Yes, but why?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
DavidCrow wrote: but why?
Because the professor may know it came from an outside source?
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
When seeing in menu, there is no shortcut for increse/decrease indent.
If there is shortcut, it will be handy while coding.
Does anyone know there is any shortcut for this?
Best Regards,
Suman
|
|
|
|
|
rp_suman wrote: If there is shortcut
Select those text and press tab or shift + tab
|
|
|
|
|
nice naveen.
there is one more technique to auto indent the code.
that is, select the whole file (ctrl +A) or a portion of the code(obviously a block) and press Alt + F8 key.
this will automatically indent the code snippet.
|
|
|
|
|
Hi, Thanks for the help.
In my system, Tab & Shift + tab works well but Alt + F8 opens Macro explorer.
Best Regards,
Suman
|
|
|
|
|