Menu
Forum
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Gallery
New media
New comments
Search media
Members
Registered members
Current visitors
Classifieds Member Feedback
SHOP
Shop Head Units
Shop Amplifiers
Shop Speakers
Shop Subwoofers
Shop eBay Car Audio
Log in / Register
Forum
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
Log in / Join
What’s new
Search
Search titles and first posts only
Search titles only
Search titles and first posts only
Search titles only
General Car Audio
Subwoofers
Speakers
Amplifiers
Head Units
Car Audio Build Logs
Wiring, Electrical and Installation
Enclosure Design & Construction
Car Audio Classifieds
Home Audio
Off-topic Discussion
The Lounge
What's new
Search forums
Menu
Reply to thread
Forum
Off-topic Discussion
The Lounge
Anybody know C++ ??
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="sumone" data-source="post: 2286715" data-attributes="member: 551481"><p>I actually like VS. When you've got a <em>huge</em> project where there's a lot of interdependence going on, notepad ain't gonna cut it. A good IDE can cut your time on a project down considerably.</p><p></p><p>As for the original question, you're saying there's four functions and you want to test each function individually? Do these functions depend on the output of previous functions? If not, just design your main() to call each function explicitly</p><p></p><p>[CODE]</p><p>int main(int argc, const char* argv[]) {</p><p> //to test function1 only:</p><p> [b]function1()[/b];</p><p> //function2();</p><p> //function3();</p><p> //function4();</p><p>}</p><p></p><p>int main(int, const char* argv[]) {</p><p> //to test function2 only:</p><p> //function1();</p><p> [b]function2()[/b];</p><p> //function3();</p><p> //function4();</p><p></p><p> return 0;</p><p>}</p><p></p><p>...</p><p>[/CODE]</p><p>and so on. What difficulty are you having?</p></blockquote><p></p>
[QUOTE="sumone, post: 2286715, member: 551481"] I actually like VS. When you've got a [I]huge[/I] project where there's a lot of interdependence going on, notepad ain't gonna cut it. A good IDE can cut your time on a project down considerably. As for the original question, you're saying there's four functions and you want to test each function individually? Do these functions depend on the output of previous functions? If not, just design your main() to call each function explicitly [CODE] int main(int argc, const char* argv[]) { //to test function1 only: [b]function1()[/b]; //function2(); //function3(); //function4(); } int main(int, const char* argv[]) { //to test function2 only: //function1(); [b]function2()[/b]; //function3(); //function4(); return 0; } ... [/CODE] and so on. What difficulty are you having? [/QUOTE]
Insert quotes…
Verification
Post reply
Forum
Off-topic Discussion
The Lounge
Anybody know C++ ??
Top
Menu
What's new
Forum list