There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
C++ Sugestions Needed


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
Regicide's Avatar
Senior Member with 302 posts.
 
Join Date: Aug 2003
Experience: Advanced
02-Feb-2004, 07:38 PM #1
Exclamation C++ Sugestions Needed
I'm pretty good at both C++ and Windows programming. Yet, I have no ideas of what to make. I need some ideas for some Windows or console based programs. PLEASE HELP ME, I'M BORED OUT OF MY MIND!
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
03-Feb-2004, 12:37 AM #2
The windows version of Opera has no way of truly indentifying as Internet Explorer without using proxy programs like Proxomitron.

Proxomitron for example allows you to modify the http user-agent header that opera sends, to an Internet Explorer User-Agent so sites like cvs.com won't deny you.

You can set opera to ID as MSIE in opera's preferences, but all of the ID-AS settings have the string "Opera" in them.

The ID-AS settings in opera affect both the http-user-agent and the javascript user-agent.

Proxomitron does the trick but Proximitron has more features than are needed for Opera to ID as IE.

A small proxy program that modifies an http-user-agent of opera like this

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]

To something like this

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

and also intercepts javascripts that use navigator.userAgent and navigator.appName so that the user-Agent sent is also

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

and also intercept scripts that use

if (window.blablabla)

so the value is always -1.

Opera users would be very happy. Especially if it was an opera plugin.

With the linux version of Opera, you don't need any programs to use a user-agent string that doesn't have "Opera" in it, but with the windows version, you do.

Proxomitron uses port 8080 as default local listening port, which might be good for that small app too.

If successful, windows Opera users will be able to visit MSNBC and so forth and get the IE version of the page, just by using a simple program. (not that proxomitron is hard to configure or anything)

Now if that's too much, then consider this for a simple project.

Take a csv file that has entries like the following.

a,b,c,d,e,f
g,h,i,j,k,l,m

Have a simple program that scans each non-blank line and deletes the second column, so you would end up with

a,c,d,e,f
g,i,j,k,l,m

You can also go

here and improve on version .2 if you want.

The opera deal might be too much, but you asked for ideas.
__________________
10 ? "a line as the unending horizon"
20 ? "a curve as the rolling hillside"
30 ? "a point as a distant bird"
40 ? "a ray as the rising sun"
run

Last edited by Shadow2531 : 03-Feb-2004 01:00 AM.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:52 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.